Re: [PHP] Testing for NULL

2002-03-18 Thread Andrey Hristov
if (!isset($login)){ echo "login undefined"; } Best regards, Andrey Hristov - Original Message - From: "Jesse Warden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 9:09 PM Subject: [PHP] Testing for NULL > Hi, I

[PHP] Testing for NULL

2002-03-18 Thread Jesse Warden
Hi, I am new... hope I am using this list correctly. I am trying to test for a null value, and if it is null, then to use a default value instead. The login page that I have, I want to show nothing in the username field unless it is passed a username from another PHP page via the header function