Click to See Complete Forum and Search --> : Problem with update query


szms
08-27-2003, 06:31 PM
The following query is not updating the database. but it works perfectly in mysql. Any sugeestion???

$result8 = mysql_query("update NonDummyFunction set Count = Count - 1 where Function_ID = 'Component_ID'");

Khalid Ali
08-28-2003, 08:11 AM
whats the error you are getting,if you are not geting much of an error then
use this in die sstatement
die(mysql_error());

let us know what the error..