Author Topic: PHP and HTML Forms  (Read 92 times)

JC

  • Guest
PHP and HTML Forms
« on: February 03, 2012, 05:26:33 AM »
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