Re: [PHP] another easy question that is stumping me...

2001-12-14 Thread Dan McCullough
if ($x != "1") { header ("location: index.php"); } else { header ("location: cart.php?sid=$sid"); } --- "Ward, Mark" <[EMAIL PROTECTED]> wrote: > Hello all, > > I've got another problem that is bothering me, yet I'm sure it should be > very easy to fix. > > Within my PHP script I want to redir

[PHP] another easy question that is stumping me...

2001-12-14 Thread Ward, Mark
Hello all, I've got another problem that is bothering me, yet I'm sure it should be very easy to fix. Within my PHP script I want to redirect the user to another page depending on the condition. If the user fails to meet the condition, I want to send them back to the start page. If they do mee