Re: Another PHP problem
by Reywob(at)aol.com
|
Date: |
Sun, 23 Apr 2000 05:09:51 EDT |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
> 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