Redmond Militante <mailto:[EMAIL PROTECTED]>
on Monday, October 20, 2003 2:15 PM said:
> for($j=0; $j < $categories_count; $j++){
> $categories_array = array();
> $tempval="str_categories".$j;
> array_push($categories_array,'$_REQUEST['.$tempval.']');
> }
>
> it looks like it's appending the string
> '$_REQUEST['str_categories0']' to the array $categories_array
that's because you've got:
> array_push($categories_array,'$_REQUEST['.$tempval.']');
and not:
> array_push($categories_array,$_REQUEST[$tempval]);
Chris.
--
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