?
<Your Form> <INPUT type="submit" name="submit" value="SEND" > </Your Form>
your form processing page should look like if( isset($_POST[submit]) ) { process }
thanks, but I already new that, I wanted to know if you could call a function without processing the form like in javascript where you could just call a function in onclick="jsfunction"
doesn't Gelwa's post pretty much do that
<Your Form> <INPUT type="submit" name="submit" value="SEND" > </Your Form> your form processing page should look like if( isset($_POST[submit]) ) { process }
Just change
if( isset($_POST[submit]) )
to if (isset($Buttonname))
PHP is a server-side process. If you want to do something client-side without submitting the data to the server, use Javascript.
PHP is serverside you have to have a exchange of info between the client and the server to be able to trigger anything in PHP... Or use an IE popup window and combine Jscript and PHP but...
thanks, guys, I finally solved my problem and now understand php a little better 🙂