ent: Tuesday, June 11, 2002 10:25 AM
Subject: Re: [PHP] Determine if variable is set
> On Tue, Jun 11, 2002 at 09:06:34AM -0400, J. Anderson Scarbrough wrote:
> > possible to determine whether a variable is set with either $_POST or
$GET
> > without having to do:
> >
> >
On Tue, Jun 11, 2002 at 09:06:34AM -0400, J. Anderson Scarbrough wrote:
> possible to determine whether a variable is set with either $_POST or $GET
> without having to do:
>
> if(isset($_POST['foo']) || isset($_GET['foo']))
if ( isset($_REQUEST['foo']) ) {
--Dan
--
PHP classe
2 matches
Mail list logo