on 8/30/01 4:06 PM, Malcolm White at [EMAIL PROTECTED] wrote:

>         $query = "UPDATE Groups SET GName=$new_name WHERE GID=$gid";

If the Gname field is a string type, there should probably be quotes around
it.

$query = 'UPDATE Groups SET GName="' . $new_name . '" WHERE GID=' . $gid;

HTH.

Sincerely,

Paul Burney

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster && Open Source Developer
UCLA -> GSE&IS -> ETU
(310) 825-8365
<[EMAIL PROTECTED]>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to