hwg-languages archives | Apr 2000 | new search | results | previous | next |
Another PHP problemby Reywob(at)aol.com |
|
Sorry chaps, but can anyone eell me why the code below produces only error messages? <?PHP if ($site == "pwp") { $sitecss = "http://members.aol.com/newstyle.css"; $sitename = "Peter's Web Page"; $siteurl = "http://members.aol.com/reywob"; } elseif ($site == "rm") { $sitecss = "http://www.railwaymodelling.co.uk/style.css"; $sitename = "Railway Modelling"; $siteurl = "http://www.railwaymodelling.co.uk } else { $sitecss = "http://www.narrowgauge.f2s.com/style.css"; $sitename = "Narrow Gauge on the web"; $siteurl = "http://www.narrowgauge.f2s.com"; } ?> Thanks, Peter.
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA