RE: [PHP] Why isn't this working?
| From: | Cal Evans | Date: | Fri, 28 Jun 2002 13:45:35 +0000 |
| Subject: | RE: [PHP] Why isn't this working? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104316@lists.php.net to get a copy of this message | ||
Have you tried:
$query = "UPDATE poll_options SET votes = votes + 1";
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-----Original Message-----
From: JJ Harrison [mailto:webmaster@tececo.com]
Sent: Friday, June 28, 2002 8:05 AM
To: php-general@lists.php.net
Subject: [PHP] Why isn't this working?
Here is my code:
$query = "UPDATE poll_options SET votes + 1";
mysql_query($query);
All where conditions have were removed to try and fix the problem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php