Re[2]: [PHP] ARRAY

From: Date: Wed, 10 Dec 2003 18:33:47 +0000
Subject: Re[2]: [PHP] ARRAY
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172372@lists.php.net to get a copy of this message
Hi, Wednesday, December 10, 2003, 6:29:43 PM, you wrote: RM> Because it's and array! print and echo take strings, not RM> arrays, I believe. Anyway, print_r() or a foreach loop will do it RM> for you. Agreed.. print_r() is the best, but if you're outputting all of this text into the browser (which is quite common) then I strongly suggest you wrap it with some <PRE> tags. You'll understand why when you try it. -- Best regards, Richard mailto:rich@launchcode.co.uk

« previous php.general (#172372) next »