Reply to Re: NEWBIE: How to iterativley populate an associative array

Your name:

Reply:


Posted by Lorenzo Thurman on 02/23/07 20:13

Benjamin wrote:
> On Feb 22, 1:55 pm, Lorenzo Thurman <lore...@diespammerhethurmans.com>
> wrote:
>> I know how to do this with an indexed array, but if i'm retrieving data
>> from a query and would like to add it to an associative array, how
>> should i go about that?
> If you have an array named $myArray, you can add another element like
> this:
> $myArray["index"] = $results
>> TIA
>
>
Thanks, this works

[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

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