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?
From: Tommy Nilsson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 11:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Huw do I perform update? I missed the accual code
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.
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]