javascript - Automatically refresh the web page after updating the database -


this question has answer here:

i have developed web page using php , mysql lanuages. but,i want refresh web page run on local host automatically after updating connected database.how can it?

use mysql_affected_rows() function returns number of affected rows on success in case of insert,update , delete , -1 on failure. check if condition success use settimeout(function(){location.reload();}, 500); refresh page automatically.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -