> 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
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php