Jason, this is intriguing.

Please show us a bit more code before the mysql_query() call.

-----Original Message-----
From: Jason [mailto:[EMAIL PROTECTED]]
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'");

    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?

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to