form problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wizzard81
Forum Commoner
Posts: 66
Joined: Wed Jan 15, 2003 6:05 am
Location: Belgium
Contact:

form problem

Post 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.
User avatar
Sema
Forum Commoner
Posts: 34
Joined: Fri Sep 03, 2004 12:43 pm
Location: Aalborg, Denmark

Post by Sema »

Try to post some of the code... Maybe it's there the problem is...
wizzard81
Forum Commoner
Posts: 66
Joined: Wed Jan 15, 2003 6:05 am
Location: Belgium
Contact:

Post 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?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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
Post Reply