hwg-languages archives | Apr 2000 | new search | results | previous | next |
Re: PHP problemby Nik Gare <nik(at)cheddarcheese.de> |
|
In article <20.41764a7.261b85e3(at)aol.com>, <Reywob(at)aol.com> wrote: <snip> You might like to try this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <head> <title>Untitled</title> <link rel="stylesheet" href="<? if($css == ""){ echo "http://members.aol.com/reywob/newstyle.css"; } else{ echo "$css"; } ?>" type="text/css"> </head> and so on... There are many ways to say the if() statement, you can use: if(isset$css){ or if($css){ and probably some more - I don't really no the difference between them :-( Have a look at the if(...) page in the manual at www.php.net for more info. TTFN Nik -- http://www.cheddarcheese.de
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA