--- Tim Haskins <[EMAIL PROTECTED]> wrote:
> Now when I change the == to <> I receive the following error:
> 
> Notice: Undefined index: id in c:\inetpub\wwwroot\_\users.php on line 103
> 
> Why would that not work - In asp it does, but I can't get it workin in php.

Are you kidding? You do realize that ASP and PHP are not the same thing, right?

> If that doesn't make sense, I would like to have an if statement the says,
> if HTTP_GET_VARS["id"] is NOT empty then show something else

if (!empty($_GET['id']))
{
     echo 'Something else';
}

Chris



=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to