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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to