Is it possible to submit an HTML form when a PHP variable changes? Or just based on a PHP variable value?
The flow is something like this…
$flag=0; //initialization
//do some SQL queries here
$flag=1; //change flag to 1 after SQL update
if($flag==1)
//submit html form(hidden) to another page