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 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 meet the condition I will allow them > to continue... I'm sure it's very simple. For some reason it's not coming to > me though. Any help is appreciated. > > Thanks, > Mark Ward > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
===== dan mccullough -------------------------------------------------------- "Theres no such thing as a problem unless the servers are on fire!" __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]