On Mon, 2003-10-20 at 15:35, Colin Kettenacker wrote: > $categories_array = array(); > for($j=0; $j < $categories_count; $j++){ > $tempval="str_categories".$j; > array_push($categories_array,$_REQUEST[$tempval]); > }
Or you could try this: $categories_array = array(); for( $j = 0; $j < $categories_count; $j++ ) { $tempval = "str_categories".$j; $categories[$j] = $_REQUEST[$tempval]; } -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php