[PHP-DB] Re: delete a record not working

2004-06-17 Thread sam
hi, if the column type of id is varchar or char, u need to put '' around id. ur query should look like mysql_query(DELETE FROM open_trades WHERE id= '.$id.'); Note that your can leave any space between and ' if u do have a space between them, ur query will look like mysql_query(DELETE FROM

[PHP-DB] Re: delete a record not working

2004-06-17 Thread sam
hi, if the column type of id is varchar or char, u need to put '' around id. ur query should look like mysql_query(DELETE FROM open_trades WHERE id= '.$id.'); Note that your can leave any space between and ' if u do have a space between them, ur query will look like mysql_query(DELETE FROM