*<form action="" method="post">
  <br><br><br>
  <label style="padding-left:40px; font-size:28px; height:24px;">To</label>
  <input type="text" name="mail" style="width:280px; height:24px;"></input>
  <br><br>
  <textarea rows="10" cols="41" name="notify" style="margin-left:50px;"> 
  </textarea>
  <br><br>
  <input type="reset" value="Reset" style="margin-left:80px; width:100px; height:30px;"></input>
  <input type="submit" value="Send" name="send" style="margin-left:50px; width:100px; height:30px;"></input>
 </form>* 
this is a part of my html code
 *<?php
  if(isset($_POST['mail'])&&isset($_POST['notify']))
   {
    $email=$_POST['mail'];
    $notification=$_POST['notify'];
    if(!empty($email)&&!empty($notification))
     {
      include "db.php";
      $query="insert into notification(email,notification) values('$email','$notification')";
      $result = mysql_query($query);
      if($result)
       {
        $_SESSION['mail']=$email;
        $_SESSION['notify']=$notification;
       }
     }
   }
 ?>*
this is a part of my php code. I have started the session already The code is running fine I can enter email and notification in database. But I want the notification to get displayed in another page. I can display the notification. But each time I submit notification to the same email the new notification replaces the old notification. I want to show every notification each time user submits in a new page.
I have coded for new page as follows
    *<?php
     session_start();
     if($_SESSION['login_user']==$_SESSION['mail'])
      {
        echo '<div id="notificationdiv" style="background-color:#CFC; width:100%; height:30px">'.$_SESSION['notify'].'</div>';   
      } 
?>*
 
    