hi all

i'm in need of pointers on how to get the following for loop working correctly

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, instead of the actual value of $_REQUEST['str_categories0'] - the 
actual value is being passed correctly to the page because i can echo it out...

any advice would be appreciated

thanks
redmond 
-- 
FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003
 4:00PM  up 6 days,  7:41, 2 users, load averages: 1.05, 1.01, 1.00
 
The best cure for insomnia is to get a  lot of sleep.
                -- W. C. Fields
 

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to