You are here: Re: Unbelievable, I'm not able to define a two dimensional array « All PHP « IT news, forums, messages
Re: Unbelievable, I'm not able to define a two dimensional array

Posted by Ian B on 11/18/05 14:59

Stefan,

With

$arr[1]

PHP can't know if you have an array, or if you want to output the value
of $arr followed by the literal string "[1]"

it assumes the former. If you want the latter, you have to use

"Array value = {$arr[1]}"

(i.e. put curly braces round it)

Ian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация