Re: [PHP] Determine if variable is set

2002-06-11 Thread 1LT John W. Holmes
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: > > > >

Re: [PHP] Determine if variable is set

2002-06-11 Thread Analysis & Solutions
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

[PHP] Determine if variable is set

2002-06-11 Thread J. Anderson Scarbrough
This is probably an easy answer, but I cannot seem to find it. Is it possible to determine whether a variable is set with either $_POST or $GET without having to do: if(isset($_POST['foo']) || isset($_GET['foo'])) //do something _