RE: [PHP] Query problem

From: Date: Tue, 12 Nov 2002 22:45:19 +0000
Subject: RE: [PHP] Query problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124083@lists.php.net to get a copy of this message
Hi Cesar, > Hi all, > > I came back from vacations and forgot some things about > queries... can anyone tell me what is wrong with this? of all > the error messages I set up in the script, none comes back on > the page but the record is not saved... Dont we all forget 'things' after vacations eh? ;-) I think you forgot a ' somewhere... $query = "INSERT INTO mararegistro (visitorid, fname, lname, borndate, address, city, country, phone, how) VALUES (null, 'c', 'c', '12', 'c', 'c', 'c', 12, 'c')"; You forgot to put single qoutes around 12. Now it should work Best regards, Davy Obdam mailto:info@davyobdam.com

« previous php.general (#124083) next »