View Single Post
  #2 (permalink)  
Old 10-15-2008, 06:41 PM
Gary White
 
Posts: n/a
Diggs:
Default Re: PHP Notice Problem

On Wed, 15 Oct 2008 17:10:16 +0000 (UTC), "UteFanJason"
<webforumsuser@macromedia.com> wrote:

> $search = $_GET['search'];
> $self = $_SERVER['PHP_SELF'];
> if ($search != NULL)
> {


Change the above to:

$self = $_SERVER['PHP_SELF'];
if (!isset($_GET['search']))
{
$search = $_GET['search'];

Gary
Reply With Quote