Reply to Re: Nested Arrays

Your name:

Reply:


Posted by Alan Little on 06/08/06 12:22

Carved in mystic runes upon the very living rock, the last words of
<RalphLacle@gmail.com> of comp.lang.php make plain:

> I have a nested array:
>
> Array
> (
> [AiHist_SelectResult] => Array
> (
> [clsASCAiHist] => Array
> (
> [0] => Array
> (
> [HistID] => 0
> [AiID] => 0
> [TimestampUTC] => Array
> (
> [IsNull] => false
> [Value] => 632851929000000000
> )
>
> [AiValue] => 17.2
> )
>
> I only want to print the AiValue
>
> How can i do that?

print $Array['AiHist_SelectResult']['clsASCAiHist'][0]['AiValue'];

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

[Back to original 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

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