hey everyone,
i am trying to rewrite a lot of my code to work with the newest version of php and having register_globals off.
i have a script that uses the switch command, it looks like this
switch($action) {
case "update_password":
link_header();
update_password();
link_footer();
break;
case "password_form":
link_header();
navigation();
password_form();
link_footer();
break;
case "linkForm":
link_header();
navigation();
linkForm();
link_footer();
break;
i was trying to use $_GET['action'] to replace the $action variable insdie the switch command, but i ran across a problem where once you submit a form the switch command will not work.
does anyone happen to have any ideas on how to remedy this problem?
any help would be greatly appreciated!
cheers