RE: [PHP-DB] PHP If statement
| From: | Harpreet | Date: | Thu, 11 Oct 2001 16:31:12 +0000 |
| Subject: | RE: [PHP-DB] PHP If statement | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13257@lists.php.net to get a copy of this message | ||
It worked i was missing the brackets.
Regards,
Harpreet Kaur
Software Developer
Crispin Corporations Inc.
-----Original Message-----
From: Harpreet [mailto:harpreet@crispincorp.com]
Sent: Thursday, October 11, 2001 12:30 PM
To: php-db@lists.php.net
Subject: [PHP-DB] PHP If statement
The below is not working.
Please help.
<?php
if ("$USER")!="harpreet"
{
echo ("$USER");
}
?>
Regards,
Harpreet Kaur
Software Developer
Crispin Corporations Inc.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net