Re: passing variables

From: Date: Sat, 03 Mar 2001 12:53:34 +0000
Subject: Re: passing variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42440@lists.php.net to get a copy of this message
One way: Pull as much info as you need out of the db, including the email id, then have a select box or check box if you want which sends the id of the email you want to delete back to a 'DELETE FROM' sql statement. No need for cookies that I can see. Mick On Sat, 3 Mar 2001, george wrote: > I have a page which pulls contact information out of a database name, email > message, and displays it on a page using > mysql_fetch_array so my question is how is it possible to delete one of the > emails, the only way i can think of is to use a checkbox and a hidden field > giving the id and then place it inside a form so all ticked so that if you > tick the email and submit the form it deletes the ticked emails. > However there must be a better way, perhaps using cookies > > TIA > > george > > > > -- > 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 (#42440) next »