Re: Echo of multi dimension array

From: Date: Wed, 03 Jan 2001 00:01:33 +0000
Subject: Re: Echo of multi dimension array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32414@lists.php.net to get a copy of this message
echo "<td>" . $daily[2][2] . "</td>"; or echo "<td>{$daily[2][2]}</td>"; ----- Original Message ----- From: "Anthony Martin" <Anthony@TRAMS.com> To: <php-general@lists.php.net> Sent: Tuesday, January 02, 2001 3:07 PM Subject: RE: [PHP] Echo of multi dimension array No, try THIS: echo "<td>" . ${'d'.'a'.'i'.'l'.'y'}[1+1][1+1] . "</td>" ; -----Original Message----- From: Hendry Sumilo [mailto:hsumilo@hotmail.com] Sent: Friday, December 29, 2000 1:20 AM To: php-general@lists.php.net Subject: [PHP] Echo of multi dimension array Dear Expert, I have problem with multi-dimension array the case is like this: $daily[2][2]="hendry"; case 1: echo $daily[2][2]; --> it will print hendry case 2 : echo "<td>$daily[2][2]</td>"; --->it will print array[2] Can i know what the problem is? Thank you very much Sincerely yours Hendry Sumilo hsumilo@hotmail.com _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- 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 -- 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 (#32414) next »