Re: javascript VS php

From: Date: Thu, 01 Mar 2001 16:22:36 +0000
Subject: Re: javascript VS php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42188@lists.php.net to get a copy of this message
Javascript (js) is client side and PHP is server side. So what you can do to call the php function is by re-submitting the page, with somekind of a flag from the js to call the php function. You write the php parts like: if($flag) callTheFunctions(args); Reuben D. B At 04:28 PM 3/1/01 +0000, Miguel Loureiro wrote:
Hello all I would like to know if its possible from a javascript function call a php function (uiuiuiuiui...) ? This because I have a bidimensional array, and when user select a option of a checbox, on javascript function I read the selectedIndex and want to see the values of that name ( see arr[selectedIndex] with for cicle). If not possible(and I think it isnt), there is any solution? TY all Best Regards Miguel Loureiro <m.loureiro@distrim2.pt >


« previous php.general (#42188) next »