RE: [PHP-WIN] mysql php help

From: Date: Mon, 22 Oct 2001 12:19:56 +0000
Subject: RE: [PHP-WIN] mysql php help
Groups: php.windows 
Request: Send a blank email to php-windows+get-9954@lists.php.net to get a copy of this message
What error does the database return? (Can you connect to the database?) And even if you know the query works, it might be a good things to post the update statement to, since just because it works in one place does not mean it must work in another place (the string might be parsed or translated.) -----Original Message----- From: Brian Feliciano To: php-windows@lists.php.net Sent: 2001-10-20 04:44 Subject: [PHP-WIN] mysql php help this is maybe a beginners question, that's because im a newbie to PHP-MySQL i want to run UPDATE sql command and this is the sample code. if (!mysql_query ($sql)) echo("Invalid query<br><br>".$sql); and i know that my $sql is correct because i tried to paste it to my PHPmyadmin and it works. how come i can't update?

« previous php.windows (#9954) next »