[PHP] Two functions, one javascript, one php, one on_click event?

2006-03-16 Thread Jay Blanchard
I have a button. When the button is clicked it performs a JavaScript function. I need it to perform a PHP function before it performs the JavaScript function. Is this a case where I do the PHP function and then output the JavaScript with PHP? My head hurts. -- PHP General Mailing List

RE: [PHP] Two functions, one javascript, one php, one on_click event? [SOLVED]

2006-03-16 Thread Jay Blanchard
[snip] I have a button. When the button is clicked it performs a JavaScript function. I need it to perform a PHP function before it performs the JavaScript function. Is this a case where I do the PHP function and then output the JavaScript with PHP? My head hurts. [/snip] Yes. -- PHP General

Re: [PHP] Two functions, one javascript, one php, one on_click event?

2006-03-16 Thread Satyam
: [PHP] Two functions, one javascript, one php, one on_click event? I have a button. When the button is clicked it performs a JavaScript function. I need it to perform a PHP function before it performs the JavaScript function. Is this a case where I do the PHP function and then output the JavaScript