RE: [PHP] Creating a variable out of a IF statement

2002-10-15 Thread Ben C.
John, It works...thanks -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 8:34 PM To: 'Ben C.'; [EMAIL PROTECTED] Subject: RE: [PHP] Creating a variable out of a IF statement > What I want to do is have an IF statement whic

RE: [PHP] Creating a variable out of a IF statement

2002-10-15 Thread John W. Holmes
> What I want to do is have an IF statement which the results would create a > variable. The IF statement is: > > IF ($car == "BMW" AND $model == "530i") echo ("Price is 35,000 dollars"); > > I want the "Price is 35,000 dollars" to be a variable. Please help with > how > to do this. if($car =