Re: [PHP-DB] Weird Wildcard Search From: Lutz Brueckner (irie <email protected>)
Date: 10/12/00

Manuel <manuel <email protected>> 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/ ***

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>