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

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]

Reply via email to