Ray Hunter <mailto:[EMAIL PROTECTED]>
    on Monday, October 20, 2003 2:47 PM said:

> Or you could try this:
> 
> $categories_array = array();
> 
> for( $j = 0; $j < $categories_count; $j++ ) {
>   $tempval = "str_categories".$j;
>   $categories[$j] = $_REQUEST[$tempval];
> }

Or you could get really fancy and try this (my preferred method if not a
little confusing):

$j = -1;
$categories_array = array();

while(++$j < $categories_count)
{
        $categories[$j] = $_REQUEST["str_categories".$j];       
}


c.

--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to