Re: Another PHP problem
by "Rossi Designs" <webmaster(at)rossidesigns.net>
|
Date: |
Sun, 23 Apr 2000 19:13:06 -0400 |
To: |
<Reywob(at)aol.com>, <hwg-languages(at)hwg.org> |
References: |
aol |
|
todo: View
Thread,
Original
|
|
Then do what I wrote and put whatever you need to set $site to (if it is not
set) where I put ...do stuff..
I think I hit the nail on the head.
Rossi Designs
PO Box 1084
Holly Hill, FL 32125-1084
Phone : (904) 226-8979
URL : http://rossidesigns.net
----- Original Message -----
From: <Reywob(at)aol.com>
To: <hwg-languages(at)hwg.org>
Sent: Sunday, April 23, 2000 5:09 AM
Subject: Re: Another PHP problem
| > if (!isset($site) {
| > ...do stuff...
| > } elseif (..rest of your code) {
|
| Sorry guys, guess I wasn't clear enough. The problem stems from the fact
| that every link in the script contains "...&site=$site..." or
"...&site=<?PHP
| echo ($site); ?>...." Site is being passed to the first page in the
URL,
| like: http://www.narrowgauge.f2s.com/phorum?site=pwp.
|
| If however, $site has not been set in the URL, errors occur because it
| doesn't know what to print in the links. Therefore, if $site has not been
| set I need a way to set it, but make it empty (so that $site= ). Am I
making
| sense???
|
| Thanks for your time.
| Peter.
|
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA