At 16:50 23.11.2002, -<[ Rene Brehmer ]>- said: --------------------[snip]-------------------- >Shouldn't > echo($$pdag[$n]); >be able to pull the string contents of the array? Or is there some extra >needed when using referenced variable? --------------------[snip]--------------------
This is ambiguous: is it "$$pdag" indexed by "[$n]", or is it "$pdag[$n]" dereferenced? If you're using an interim variable you'll get what you need - either use (depends on your data layout which I don't know) $temp = $pdag[$n]; echo $$temp; or $temp = $$pdag; echo $temp[$n]; -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php