when new row inserting into mysql, then i want to dislplay some popup notification for few seconds in some page. so pls help me anyone ? thanx in advance :)
aha not like this. i mean while positing status in fb, we see some popup notifications bottom of the page for few seconds. like that i want when row inserted into mysql without refreshing...
Or use ajax to insert data via a separate php file and show the message on return of the ajax response.
You can take the advantage of jQuery. Ofcourse it might possible with only with jQuery or ajax.
So follow the steps.
Create a PHP page that can able to search the database for the new post.
Use some interval to call a function the function contains
$('#result').load('ajax/updates.php'); WHere #result will be the popup div or something and updates.php is a php page which you created in the
Simple that will display the results how u want. Comments are weclome for this idea.