On Sun, 26 Dec 2004 15:47:54 -0500, John Holmes
<[EMAIL PROTECTED]> wrote:
> Peter Jay Salzman wrote:
> > Slightly off topic, I apologise.
> > if ( isset($_REQUEST['action']) && $_REQUEST['action'] == 'foo' )
> > do_something;
Personally I prefer the use of isset(), as it make sure that value is
set before doing any type of operation on it. using @ is a dangerous
practice as it just hide the errors.
And yes error reporting ought to be E_ALL in development environment.
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php