Re: SQL update help

From: Date: Fri, 20 Sep 2002 19:07:44 +0000
Subject: Re: SQL update help
Groups: php.db 
Request: Send a blank email to php-db+get-21877@lists.php.net to get a copy of this message
if you put quotes around the variable $PHP_SELF it should work...try this. UPDATE $table SET pages = '".$PHP_SELF."' WHERE session = $holy_cow hth jd "Jas" <jlgerfen@hotm To: php-db@lists.php.net ail.com> cc: Subject: [PHP-DB] SQL update help 09/20/2002 03:13 AM Here is my statement UPDATE $table SET pages = $PHP_SELF WHERE session = $holy_cow However it will not update I recieve this error: You have an error in your SQL syntax near '/admin/login.done.php WHERE session = 5d44389bd70881131b9ea7573eba34d4' at line 1 Any help would be appreciated Jas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#21877) next »