I have the following pages:
- webservice.php - it has a webservice used to handle all the possible GET and POST variables sent to it, returning a string as result.
- form_page.php - the page with a form whose action redirects to table_result.php.
- table_result.php - on this page, there is a table which should be filled up with the results from webservice.php.
My question is: if the GET/POST
variables' values are only available on table_result.php (after the form data has been submitted), how can I send them to webservice.php and get the result to fill up the table without leaving table_result.php? IT is important to note that on webservice.php there are a bunch of if (isset($_GET["var_name"]))
to formulate a database query and return the result on a string, as said before.
Thanks in advance.