javascript - Automatically refresh the web page after updating the database -
this question has answer here:
- refresh webpage on database update 2 answers
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
Post a Comment