You are here: Re: [PHP] array simple question « PHP « IT news, forums, messages
Re: [PHP] array simple question

Posted by Mike Bellerby on 09/14/05 00:57

If you want to print the keys for all the arrays in the main array then
use allkeys.



matt VanDeWalle wrote:

> hello,
> I have a simple question, not really a problem this time.
> I know that the function print_r() will print an array but if that
> array has sub-arrays it prints everything and if you don't use more
> command or a pipe of some kind that could be useless in some cases,
> but I am just wondering, for an array that has several arrays in it,
> is there a way to print the array names that are contained in the
> "main array" but not the contents of each?
> thanks
> matt
>

 

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

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