MySQL Forums
Forum List  »  Portuguese

Contador de clique com pontuação separando quantidades
Posted by: Marta Ferrarini
Date: January 02, 2011 11:08PM

Bom dia a todos,

preciso de uma força com banco de dados mysql.

Tenho um script de contador de cliques funcionando com valores de cliques sem pontuação retornado assim: 2327986

Porém se eu colocar deste tipo 2.327.986 ao dar o próximo clique ele destrói o valor e retorna assim: 1.986 se der mais um clique ele retorna assim: 2.986 e apenas soma na frente do ponto e não no final do valor.

Como resolver isso?

O que está errado na minha tabela?


--
-- Estrutura da tabela `clicks`
--


Obrigada a todos,

consegui depois de muita luta acertar a pontuação que vem do banco de dados,

agora eu vejo na home os caracteres desta forma:


total de cliques: 2.786.098

tudo com pontuação definida e corretamente.




Consegui resolver, obrigada a todos, apesar de ninguém ter nem dito alo ou qualquer coisa.


xxxxxxxxxxxxxxxxxxxxxxxxxxxx - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Good morning everyone,

need a force with mysql database.

I have a script running counter clicks clicks without score values returned thus: 2327986

But if I put this kind 2,327,986 to make the next click it destroys the value and thus returns: 1986 to take one more click returns it thus: 2986 and just in front of the sum and not the end point value.

How to solve this?

What is wrong in my table?


-
- Structure for table `clicks`
-


Thank you all,

after much struggle managed to hit the score that comes from the database,

now I see the characters on the home this way:


Total clicks: 2.786.098

with punctuation and everything set correctly.






I managed to solve, thank you, even though no one even said hello or anything.



Abs
Marta



Edited 3 time(s). Last edit at 01/23/2011 03:14PM by Marta Ferrarini.

Options: ReplyQuote


Subject
Views
Written By
Posted
Contador de clique com pontuação separando quantidades
4123
January 02, 2011 11:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.