RE: [PHP-DB] how do I update fields in a mysql database with php?
| From: | Rick Emery | Date: | Wed, 26 Sep 2001 16:48:37 +0000 |
| Subject: | RE: [PHP-DB] how do I update fields in a mysql database with php? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12736@lists.php.net to get a copy of this message | ||
Wht is the error message you get?
What does the table look like?
what does the preceding code loo like?
show us code!!! show us output!!!
-----Original Message-----
From: Tommy Nilsson [mailto:tommyhome@softhome.net]
Sent: Wednesday, September 26, 2001 11:10 AM
To: php-db@lists.php.net
Subject: [PHP-DB] how do I update fields in a mysql database with php?
Hi.
Please help..
I got a bit of a problem:
$result1 = mysql_query ("SELECT
newscat_id,newscategory,newscat_status FROM dvd.news_categories WHERE
newscat_id='$newsid'")
shouldn't that work?
Or what is wrong with it?
Im running apache/mysql om windows XP.
Thanks for any help.
//Tommy