[PHP] javascript VS php

2001-03-01 Thread Miguel Loureiro
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

Re: [PHP] javascript VS php

2001-03-01 Thread Reuben D Budiardja
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