Re: "sticky" multiple select menus in PHP

by David Mintz <mambomintz(at)yahoo.com>

 Date:  Wed, 20 Dec 2000 07:25:47 -0800 (PST)
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
--- Cyanide _7 <leo7278(at)hotmail.com> wrote:
> this is how i've been doing it for years as well
> (not necessarily in php, 
> but the idea is the same). and again, if anyone
> knows of an easier way, 
> please share! - Cyanide_7

Well, there is a much easier way in Perl with the
venerable old CGI.pm module by using its
scrolling_list() function and setting its -default
argument to an array reference. But I'm using PHP
nowadays because I found that the overhead of starting
the perl interpreter on a busy shared server was
absolutely killing me. Hence the question. 

But hey, if this technique is good enough for Cyanide,
it's good enough for me ( :

I wonder: could we not write a clever function that
would do what CGI.pm's does, store it in an external
file and thus save some typing? I bet we could. 


David Mintz
Spanish Interpreter, US District Court
Southern District of New York
Web Design & Hosting http://dmintzweb.com
Personal http://panix.com/~dmintz


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA