Hi all,
I have created the inbox......so now i am deleting the particular row......i want it to be removed from the inbox and moved to trash......can you guide me how to do.
i know simple deleting operation.....help me
Hi all,
I have created the inbox......so now i am deleting the particular row......i want it to be removed from the inbox and moved to trash......can you guide me how to do.
i know simple deleting operation.....help me
You are going to have to be a lot more specific.
use one state column in your messages table..
and whenever user click on the delete button ,update the state field to 2 by using the id of deleted message.and first set your state as1.
if the state is 1,that is inbox message,
if the state is 2,that is trash message...
implement by this logic....
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.