delete query doesnt work (fixed)

From: Date: Sat, 08 Feb 2003 02:02:17 +0000
Subject: delete query doesnt work (fixed)
Groups: php.general 
Request: Send a blank email to php-general+get-134843@lists.php.net to get a copy of this message
hi... my delete query : mysql_query("delete from members where company like '$delete'"); now works..this is how i fixed it... in the form that submits the $delete var add this: <input type="hidden" name="flag_delete" value="$delete"> now in query change $delete to $flag_delete... and poof it magically works still need to debug the edit system since all the records tend to get changed if someone submits the same data in the fields for that record... --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003

« previous php.general (#134843) next »