Re: hotmail, yahoo..why can't me?
| From: | another programmer | Date: | Thu, 05 Jul 2001 07:26:52 +0000 |
| Subject: | Re: hotmail, yahoo..why can't me? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56274@lists.php.net to get a copy of this message | ||
I'm being quick, so pseudo code:
on message display page:
<form method="post">
<!loop till end of messages>
<input type="checkbox" name="deleteList"
value="<!whateverid>"><!whateverMessageName>
<!endloop>
<input type="submit" name="notRequired" value="Delete Selected
Mail">
</form>
what happens is on sending, deleteList will be a list of all selected checkbox's values.
on action page: (I'd also check deleteList isonly numeric characters and numbers, use a Regular
Expression to
cleanse the variable)
<!if Length of deleteList > 0>
<! runSQL = "delete from messages where ID in (" & deleteList & ")"
>
<! end if>
----- Original Message -----
From: "Dhaval Desai" <dhaval_adams@yahoo.com>
To: <php-general@lists.php.net>
Sent: Thursday, July 05, 2001 5:04 PM
Subject: [PHP] hotmail, yahoo..why can't me?
Hi!
I wanna do something like in ur mailboxes. if u check
ur hotemail or yahoo a/c u can find checkboxes on the
left side of each message. U can check the boxes and
delete the messages..
I want to delete certain rows that come out of a
database. So if I have 20 records coming out of the
databases i want a checkbox on the left of each
message so that I can delete some of them if i want.
Is there a way.. i don't seem to get the logic to do
this..
Please help me out...
Thank You
Dhaval Desai
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
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