Use var_dump or print_r if you want to view the structure of an array or an object.
http://www.php.net/var_dump
http://www.php.net/print_r
These do not work in place of echo! These are utility functions that provide information about a variable. Perhaps you are thinking of print. Whereas print and echo are language constructs, not functions, these are functions.
: )
Rich
:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::