RE: [PHP-DB] MySQL/PHP Update
| From: | Jason | Date: | Thu, 28 Mar 2002 16:03:00 +0000 |
| Subject: | RE: [PHP-DB] MySQL/PHP Update | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18001@lists.php.net to get a copy of this message | ||
Actually... this turned out to be something totally unrelated. Thanks for
all the interest tho.
Missing little things like variable spelling is why you shouldn't code for
18 hours straight.
Jason Cathcart
Check Out My Site: http://www.biohazardous.org
-----Original Message-----
From: Rick Emery [mailto:remery@excel.com]
Sent: March 28, 2002 7:20 AM
To: 'Jason'; Php-Db
Subject: RE: [PHP-DB] MySQL/PHP Update
Jason, this is intriguing.
Please show us a bit more code before the mysql_query() call.
-----Original Message-----
From: Jason [mailto:bio@biohazardous.org]
Sent: Thursday, March 28, 2002 1:54 AM
To: Php-Db
Subject: [PHP-DB] MySQL/PHP Update
I'm trying to update my MySQL database, but it doesn't seem to be taking.
my code is:
mysql_query("update prod_list set prod_manu=$prod_man where sku='$prod'");
where
prod_manu is an int
$prod_man is an int
sku is a varchar
$prod is text
mysql_query() comes back successful, and just to be sure I echoed
mysql_error() and nothing came back.
What am I doing wrong?