How do I call a PHP function with an argument from another PHP page?
... from that page like:
pageWhereFunctIs.php?variable=ValueINeed
And then on the page call out to the variable $_GET['variable'] and there you have it...
no... see
I have a page with a function.. and a onclick javascript send me 2 new php page where i pick up the variable with $_GET and now i want 2 call the function in the first page with the variable as an argument
I'm not sure that that can be done in any way except by inculding the page where the function is defined.
I would recomend you to define the function in a page called functions.php and the include it in every page you need her to do any kind of job.