Re: UPDATE and redirect

From: Date: Wed, 11 Apr 2007 15:09:39 +0000
Subject: Re: UPDATE and redirect
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-252589@lists.php.net to get a copy of this message
Hi, It's fixed, I think the problem where at the '==' ... I have to remember that in PHP this is like ActionScript.
Also, what if $_GET['act'] is neither 'a' or 'd'? Again, what if $_GET['id'] is null?
The only way to not be 'a' or 'd' or to be null is if someone mess with url, which should throw an error anyway and not run the query. The link that get me to this page where the code is executed is generated to have these options. Thanks for the reply's

« previous php.general (#252589) next »