First thing is, it's possible, i've done it in the past myself, it's just not working due to some reason. Second, functioning cann't be achieved with javascript, cauz it's DB related.
anyway thanx for ur reply Nitin ----- Original Message ----- From: "Jake McHenry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 12:16 PM Subject: RE: [PHP] Calling PHP functions from within javascript > > -----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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php