Jason Wong wrote:
Not sure why you're escaping the single quote. It's unnecessary -- and I suspect you mis-escaped $select as well. Any you can use this format, which IMHO, is a lot easier on the eyes:

$sql = "INSERT INTO `guest` SET `title` = '$title',
`first_name` = '$first_name',
`last_visit` = NOW()";

Can you use SET with INSERT INTO?  Is it MySQL grammer?

BABA Yoshihiko

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to