On Thursday 13 November 2003 01:34, Nitin wrote:
> 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

In a short answer. You can't. You can get PHP to create javascript on page 
load. But you couldn't get Javascript to say..... executed a PHP db query 
based on a user selection on a form. PHP is Server-side. It's all executed 
before it reaches the user.
-- 
"I have a photographic memory. I just forgot the film" --Unknown
=============================
Ryan Thompson
[EMAIL PROTECTED]
http://osgw.sourceforge.net

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

Reply via email to