> -----Original Message-----
> From: Nitin [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 13, 2003 1:35 AM
> To: PHP-General
> Subject: [PHP] Calling PHP functions from within javascript
> 
> 
> Hi all,
> 
> can anybody tell me how to call PHP functions from within 
> javascript, as I want my PHP function to be interactive. I 
> need to call the function written in the same page, with the 
> values selected by the user
> 
> Thanx in advance
> 
> Nitin
> 

Someone correct me if I'm wrong, but this isn't possible unless you
have your javascript continuously refreshing the page, and changing
the url, or posting data. PHP is server side, so the only way for php
script to be executed is when the page loads. It might be more
productive if you create the functions you want executed in javascript
instead of php.



Thanks,

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to