I am having a problem passing some variables around a couple of scripts.
Im pretty much trying to run everything from 2 pages. One page is the main page that contains the layout etc, and the other is a script page that contains the actions to perform.
For example, selecting update page from the menu, will call back to a switch statement to decide exactly what to do.
e.g. admin.php?do=updatePage
This calls the function updatePage.
In one function, I select each entry from a a database, and write it to the page with a link attached that includes its row_id.
Now that link should pass back to the switch statement a row_id to say... Hey there, perform this function using this row_id.
However....its not.
So my question is this....Is there a way to post from a form to a php script, that evaluates a switch statement, and performs the required function with the value from the form?
I know this is a lot, but any help that anyone can give would be much appreciated, as its driving me nuts.
Thanks.