title: Make a echo statement to vanish after 2 seconds
body: <p>I have a form ,if a user submits data, he will get a message like data successfully submitted.
  I want this message to vanish after 2 seconds.</p>
  
  <p>I used this function set_time_limit(2); but this is not working.</p>
  
  <p>Where am i going wrong?</p>
  
  <p>Thanks in advance.</p>