At 1:42 PM +1000 4/14/08, Chris wrote:
Your query should end up looking like:


$query = "UPDATE phones set last_name='${last_name}', first_name='${first_name}' ..., suffix=${suffix}";


Why not this:

$query = "UPDATE phones set last_name='$last_name', first_name='$first_name' ..., suffix=$suffix";

Why the "{}"?

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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

Reply via email to