Re: PHP If statement

From: Date: Thu, 11 Oct 2001 16:25:07 +0000
Subject: Re: PHP If statement
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13258@lists.php.net to get a copy of this message
You missed the brackets for the IF if ($USER!="harpreet"){ echo ("$USER"); } That will work(I hope). -- Andrey Hristov Web Developer IcyGEN Corporation BALANCED SOLUTIONS http://www.icygen.com On Thursday 11 October 2001 19:29, you wrote: > The below is not working. > Please help. > <?php > if ("$USER")!="harpreet" > { > echo ("$USER"); > } > ?> > Regards, > Harpreet Kaur > Software Developer > Crispin Corporations Inc.

« previous php.db (#13258) next »