Re: Another PHP problem

by "Mr. J Michael Cates" <jmcates(at)worldnet.att.net>

 Date:  Sat, 22 Apr 2000 04:06:27 -0700
 To:  <Reywob(at)aol.com>,
<hwg-languages(at)hwg.org>
 References:  aol
  todo: View Thread, Original
Your URL for $sitecss in the first array is wrong. you need to put the
member name after members.aol.com

Mr. Cates
jmcates(at)worldnet.att.net

******Notice******
jmcates(at)ameritech.net will be defunct effective 5/1/2000

----- Original Message -----
From: <Reywob(at)aol.com>
To: <hwg-languages(at)hwg.org>
Sent: Saturday, April 22, 2000 12:23 AM
Subject: Another PHP problem


> 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