You are here: Re: Using The Same Page To Display A Hundred Pictures One Picture At A Time « PHP Programming Language « IT news, forums, messages
Re: Using The Same Page To Display A Hundred Pictures One Picture At A Time

Posted by Jim Carlock on 02/04/06 04:55

"Pedro Graca" <hexkid@dodgeit.com> answered:
> try
>
> echo '<pre>'; print_r($aImages); echo '</pre>';

Thanks, Pedro. That's going to be indispensable when messing with
arrays. I've done that with PHP's built-in arrays. The power of
suggestion... Thanks!

Jim Carlock
Post replies to the group.

Jim Carlock originally posted/asked:
> For arrays of arrays, how do I access the "ani/pic-1.gif" element?
>
> $aImages = array("custom_pools", array(array("ani/pic-1.gif",
> "Replica 1974 Gibson Les Paul Guitar", "pic-1.jpg",
> "description", "pagetitle", "metadescription", "metakeywords",
> "<h1>h1</h1>"),
>
> I tried $aImages[0][0] but that returns "c".
> I then tried $aImages[0][1], and that returns "u".
> I then tried $aImages[0][0][0] and that returns an empty string.

 

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

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