Chris W. Parker <>
    on Monday, October 20, 2003 2:27 PM said:

> that's because you've got:
> 
>> array_push($categories_array,'$_REQUEST['.$tempval.']');
> 
> and not:
> 
>> array_push($categories_array,$_REQUEST[$tempval]);

Oh maybe I should explain why your original line wasn't working. You
have single quotes around the variable which says to the php interpreter
"please turn the following text into a string and don't evaluate any
variables" (more or less).


Hope this helps.
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

Reply via email to