Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Kim Steinhaug
"scripting techniques and a hidden iframe" Ahh... Nice one! This accually didnt come to mind at all for me, probably because this sort of scripting soon gets very complicated given that such applications are supposed to work flawlessy for the end user. And to many loading windows (hidden frames),

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Justin Hannus
Kim is on the money. But to be more interactive with your DB from javascript, instead of loading just static xml into javascript, load in a url to a php page that generates xml based on a query string and a DB result set, you have your interactivity. This may introduce security issues. "Kim Stei

RE: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Rich Gray
> 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 > Hi Nitin If you mean exchanging data between PHP and javascript w

RE: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Warren Vail
TED] Sent: Wednesday, November 12, 2003 10:52 PM To: Jake McHenry; [EMAIL PROTECTED] Subject: Re: [PHP] Calling PHP functions from within javascript 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'

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Kim Steinhaug
"First thing is, it's possible" First of all PHP is server-side and has nothing to do with client side. If you have managed to do this, you must have some concepts screwed up! Lets not believe that PHP is client side all of a sudden! Sorry mac -> But you havnt done this in the past! a) On the oth

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Ryan Thompson
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 > > N

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Nitin
cHenry" <[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

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread - Edwin -
On Thu, 13 Nov 2003 01:46:20 -0500 "Jake McHenry" <[EMAIL PROTECTED]> wrote: ...[snip]... > 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 f

RE: [PHP] Calling PHP functions from within javascript

2003-11-12 Thread Jake McHenry
> -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 w

[PHP] Calling PHP functions from within javascript

2003-11-12 Thread Nitin
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