hai iam working hard on this concept,iam not knowing how to delete message from message box.please send the code for deleting message from messagebox.
prashanth18
-2
Newbie Poster
Recommended Answers
Jump to PostCall the below function when you want to delete the message.
function deleteMessage($msgID) { $result = mysql_query('DELETE FROM inbox WHERE id = ' . $msgID ); if($result) return true; return false; }
Hope it helps.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.