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.

Call 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.

thanks for u r support

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.