start a function without pressing button after PHP
Posted: Mon Mar 08, 2010 2:00 pm
Hi I wonder if there is some kind of way to start a function after a button have been pressed and the php has done some stuffs then it would
automatically start up? Not when you press a button but on "normal" command... I guess its a basic question but I need the help for it so. =)
Code exampel:
automatically start up? Not when you press a button but on "normal" command... I guess its a basic question but I need the help for it so. =)
Code exampel:
Code: Select all
if(isset($_POST['dogs']))
{
If ($money > $Spend){
--> run javascript function <--
}
}