Re: How do I see the data in list()?

From: Date: Fri, 26 Jan 2001 13:13:37 +0000
Subject: Re: How do I see the data in list()?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36786@lists.php.net to get a copy of this message
Yes, I can see that I didn't put the ";" after "$test1=array()". Fortunately, I just type up the code example to this newsgroup. So, excuse my typo error. Thanks for the clarification and offering of the use of PHP code such as print_r() or var_dump(). They are new to me. So, it was a great help when I was debugging the missing data in the huge array (containing several more arrays). Thanks, Scott ""Scott Fletcher"" <scott@abcoa.com> wrote in message news:94pkll$516$1@toye.p.sourceforge.net... > Hi! > > When I use the echo to see what is inside the list(). Instead I got the > message on screen saying "ArrayArray". > > The array are being assigned first then then list come second. ie. > > $test = array(); > $test1 = array() > > list($test,$test1); > > --------------- > When I do "echo list($test,$test1);", it doesn't work. > > What are the better way to see the data in the array? > > Thanks, > Scott > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#36786) next »