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
> 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 =
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.
Thanks,
Ben
--
PHP Ge
3 matches
Mail list logo