You are here: getting values in an array of arrays « PHP Programming Language « IT news, forums, messages
getting values in an array of arrays

Posted by speralta on 02/07/07 17:31

Hi,

The following is the output of a print_r on an array. The value of
element[0] is itself an array. How do I access the elements in the
second array?

Array ( [0] => Array ( [Vancouver] => Vancouver [Eugene] => Eugene
[Beaverton] => Beaverton ) )

I've tried to set $c[] = $city[0], but this just outputs the same
result.

Thanks,

Sal

 

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

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