Date: 12/29/00
- Next message: Kyle Jerviss: "Re: [PHP] Original problem?"
- Previous message: jeremy brand: "Re: [PHP] PHP problems."
- In reply to: Hendry Sumilo: "[PHP] Echo of multi dimension array"
- Next in thread: Blaster: "RE: [PHP] Echo of multi dimension array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Take the $daily[2][2] out of the quotes. Do something like this:
echo "<td>" . $daily[2][2] . "</td>\n";
Hope that helps
Rob
At 09:19 AM 12/29/00 +0000, Hendry Sumilo wrote:
>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 <email protected>
>
>_________________________________________________________________________
>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 <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Kyle Jerviss: "Re: [PHP] Original problem?"
- Previous message: jeremy brand: "Re: [PHP] PHP problems."
- In reply to: Hendry Sumilo: "[PHP] Echo of multi dimension array"
- Next in thread: Blaster: "RE: [PHP] Echo of multi dimension array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

