Deleting multiple messages from database,how to do this

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
manish_7in
Forum Newbie
Posts: 4
Joined: Thu Feb 26, 2004 8:03 pm

Deleting multiple messages from database,how to do this

Post by manish_7in »

hi

What I want to do is....Just need some suggesstions/help

That a employee can view all his new and old messages just like we can in email(this can be done by pulling all the messages with a particular emp_id in reciever list). He can click on any new message to read it(i will use <a href to do this). But how to give the delete option,like checkboxes and delete the messages which are checked?(if only one is checked it can be done but what if there are multiple messages to delete?


Hope u understand my problem.
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

A suggestion is:

make a while loop, make a form, turn the form into an array (so multiple variables can be transfered) and violia.

read this thread for more info:

viewtopic.php?p=99258&highlight=#99258

good luck, partner
Post Reply