Page 1 of 1

form problem

Posted: Sun Sep 19, 2004 5:03 am
by wizzard81
Hello,

I've mad a registration script in 4 steps with a switch() but i have a problem. When i submit step 1 then i go to step 2 but when i brows back to step one and browse forward to step 2 then i get an error this page cannot be found. Does someone knows how i can fix this because in the past i made already registration script but never had this problem.

Posted: Sun Sep 19, 2004 5:11 am
by Sema
Try to post some of the code... Maybe it's there the problem is...

Posted: Sun Sep 19, 2004 5:34 am
by wizzard81
include("includes/admin_header.php");

if (!$_POST["Submit"] && $_POST["stap"]==1){
$_POST["stap"]='';
}

switch ($_POST["stap"]) {
case "1" :
..............
break;

default:
}

include("includes/admin_footer.php");


Well posting the code is to big maybe i can mail it to you?

Posted: Sun Sep 19, 2004 6:22 am
by timvw
All you need to do is keep track where the user is (expected.)

A nice system (that solves others problems too you're going to face) can be seen at http://www.tonymarston.net/php-mysql/ba ... blues.html