PHP to delete mysql record.

From: Date: Wed, 13 Sep 2000 02:28:14 +0000
Subject: PHP to delete mysql record.
Groups: php.general 
Request: Send a blank email to php-general+get-16476@lists.php.net to get a copy of this message
Okay, I'm new but trying hard. PHP4 - Working Great on an OSX Server mysql - Working wonderfully on another OSX Server I've queried mysql and received back my database in HTML table. Now I want to make a form around the Table and a checkbox on the end of each record (I've already done that) and a button that say's "delete marked records" (done that too). Okay, here's the question "How do I right an PHP action that will return the same page and delete the marked records. +--------------+----+ | Bill Clinton | X | +--------------+----+ | Al Gore | X | +--------------+----+ | Rush Limbaug | | +--------------+----+ Say I wanted to delete those two guys at the top of my query result (by clicking on an checkbox) and return the resulting query:-) I'm supposing I'd make a "T" or "F" or "1" or "0" for the checked and null or unchecked box. +--------------+----+ | Rush Limbaug | | +--------------+----+ -- Richard Senior Site Developer/YourLink, inc.

« previous php.general (#16476) next »