It'd be simpler to use isNaN()
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: sahabettin akca [mailto:[EMAIL PROTECTED]
Enviada em: domingo, 11 de maio de 2008 14:31
Para: php-db@lists.php.net
Forwarding to the correct mailing list. You should get flames...*cough* I
mean, answers here :)
Regards,
Thiago
-Mensagem original-
De: Ron Piggott [mailto:[EMAIL PROTECTED]
Enviada em: domingo, 4 de maio de 2008 19:35
Para: PHP DB
Assunto: [PHP-DB] Shopping cart session handling
I am
[top posting warning]
You still did not RTFM as Stut told you 4 days ago. I'm pasting here the
entire conversation with the subject Resource id #5:
-Mensagem original-
De: Stut [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 27 de março de 2008 15:14
Para: Richard Dunne
Cc:
not sure how timestamps work in MySQL, but I've written this in Oracle:
CREATE TABLE USaR (
UsID char(255) null,
Firstname char(255) NULL,
Surname char(255) NULL,
Tel char(255) NULL,
Cell char(255) NULL,
Email char(255) NULL
)
/
CREATE TABLE Tracker(
UsID CHAR(255) NULL,
Points
This is more SQL than PHP, how did you create your constraints?
Did you set insert on CASCADE?
-Mensagem original-
De: Nasreen Laghari [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 25 de fevereiro de 2008 22:15
Para: php-db@lists.php.net
Assunto: [PHP-DB] INSERT query with
Lemme see if I get this right:
You could just do this:
UPDATE userPW SET field1=$satinized_post_field1,
field2=$sanitized_post_field2 WHERE userid=$userId and password=$userPw
if (mysql_affected_rows($conn) 0){
echo updated
}else{
echo error: .mysql_error($conn);
}
I did not say: do not ask on this list.
I said: you would get BETTER answers if you asked on a MySQL list.
_
De: Lasitha Alawatta [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 26 de fevereiro de 2008 13:47
Para: Thiago Pojda
Assunto: RE: [PHP-DB] MySQL replication delaying issue
Not trying to be an ass, but wouldn't you get better answers if you asked in
a MySQL list?
I work with PHP, but have near to 0 experience with MySQL.
_
De: Lasitha Alawatta [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 26 de fevereiro de 2008 12:50
Para: php-db@lists.php.net;
That's ok, good luck with your problem.
Perhaps this could help :)
http://forums.mysql.com/read.php?26,197734,197734#msg-197734
_
De: Lasitha Alawatta [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 26 de fevereiro de 2008 14:44
Para: Thiago Pojda
Cc: php-db@lists.php.net