On Friday 26 October 2001 10:17, Ashley M. Kirchner wrote: > I'd like to create an array of "available resources", and be able > to check it every time. What I'd like to do is something like; > > $site = array( "section1" => #, "section2" => #, etc.. ) > > where "section*" is a STRING variable and # is an INT (if it's > even possible to do that) > > Once I have this setup properly, I'm going to have a routine that > extracts data from PATH_INFO, namely '$section' and '$page' which > should then be checked against the array: > > - if $section exists in the array
[...] http://www.php.net/manual/en/ref.array.php -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) Drink wet cement. Get stoned. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]