Re: PHP if else statement

by Norman Bunn <norman.bunn(at)craftedsolutions.com>

 Date:  Thu, 13 Jun 2002 15:25:20 -0400
 To:  <richard(at)rkwinternet.com>,
"HWG" <hwg-languages(at)hwg.org>
 In-Reply-To:  rkwinternet
  todo: View Thread, Original
== tests equality between the two sides, while = makes the left side the 
same as the right side.

Norman

At 02:22 PM 6/13/2002, Richard Williams wrote:
>Thanks Jeremy.
>
>If($bedrooms=="") did the trick, but why did it require a == instead of a = ?
>
>An answer to this would progress my understanding if anyone has the answer.
>
>Thanks again.
>
>Richard Williams

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA