I use:
$sql .= "`first_name` = '" . $first_name . "', ";
in the if statements. Notice the angled tick marks and single tick marks.
Then before executing the query, remove the last ", ".
$sql = substr($sql, 0, -2);
In your case, before you append the WHERE clause.
You should echo out your built-u
Grae Wolfe - PHP wrote:
Thank you for the thought, however, I don't have a shell that I can run in,
hence, I have to rely on help from others.
get a GUI client then and use that...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php