No subject was specified.

From: Date: Wed, 13 Sep 2000 13:16:35 +0000
Subject: No subject was specified.
Groups: php.general 
Request: Send a blank email to php-general+get-16557@lists.php.net to get a copy of this message
I've written one of my first PHP programs and returned a table of my data in HTML:-) But I want to write a PHP SQL statement to delete marked records (checkbox). Okay, here's the question "How do I write an PHP action that will return the same page and delete the marked records from mysql database. +--------------+----+ | Bill Clinton | X | +--------------+----+ | Al Gore | X | +--------------+----+ | Rush Limbaug | | +--------------+----+ i.e. Putting all politics aside: Say I wanted to delete those two guys at the top of my query result (by clicking on a checkbox) and return the resulting query and delete the marked ones from the database I'm supposing I'd make a "T" or "F" or "1" or "0" for the checked and null or unchecked box. But I'm a new programmer and struggling so if anyone can help please do. +--------------+----+ | Rush Limbaug | | +--------------+----+ -- Richard Senior Site Developer/YourLink, inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#16557) next »