RE: [PHP-DB] Huw do I perform update? I missed the accual code bi t.. sorry
| From: | Rick Emery | Date: | Wed, 26 Sep 2001 16:59:15 +0000 |
| Subject: | RE: [PHP-DB] Huw do I perform update? I missed the accual code bi t.. sorry | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12740@lists.php.net to get a copy of this message | ||
What does table look like?
What does preceding code look like?
What error message are you getting?
Try printing the value of $query. What does it look like? Copy/paste that
into mysql directly; what error do you get?
-----Original Message-----
From: Tommy Nilsson [mailto:tommyhome@softhome.net]
Sent: Wednesday, September 26, 2001 11:14 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Huw do I perform update? I missed the accual code
bit.. sorry
Sorry,:
This is my query:
$query = "UPDATE dvd.news_categories SET newscategory='$newscategory',
newscat_status='$newscat_status' WHERE newscat_id='$newsid'";
but it doesn't seem to work.
help anyone?
//Tommy