Re: Weird Wildcard Search
| From: | Lutz Brueckner | Date: | Thu, 12 Oct 2000 20:18:01 +0000 |
| Subject: | Re: Weird Wildcard Search | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3564@lists.php.net to get a copy of this message | ||
Manuel <manuel@buyee.com.sg> wrote:
> 2) How can I make the $ref sent by search.php3 global - able to use by any
> file?
> I tried <? global $ref; ?> and it didn't seem to work.
> 3) Is there anywhere else that I can read up on this or anyone has any
> sample code?
I think you would like to use sessions. Download the manual from
www.php.net and read the section about session handling.
> echo " <a
> href=\"sresults.php3?sqlstmt=$sqlstmt&CR=$CR&RL=$y\">[Next]</a>";
Doing
$sqlstmt = urlencode($sqlstmt)
befor this echo protects the variable in the url.
> Sorry for the long posting.
Its not long any more ... :)
Lutz
--
ibWebAdmin 0.2alpha *** web-based InterBase database administration
*** download the latest version from http://home.knuut.de/lb/ ***