> 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 == "BMW" && $modle == "530i") { $var = "Price is 35,000
dollars"; }
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

