Reply to Re: confused on arrays

Your name:

Reply:


Posted by ja on 11/03/07 21:58

"J.O. Aho" <user@example.net> wrote in message
news:5p484gFp9fppU2@mid.individual.net...
> ja wrote:
>> I'm learning php and I'm already stuck on arrays :(
>>
>> I don't know if I'm getting information overload or what, but I'm really
>> confused on square brackets vs. parethesis. I see them used almost
>> interchangedly (if that's a word??) and I'm really having a problem
>> grasping
>> when to use which on arrays. Is there a simple explanation when one is
>> used
>> in arrays and when the other is suppose to be used? I first thought that
>> square brackets are used when assigning a value but then further reading
>> I
>> see that's not so.
>
> Simply:
>
> $array[]
>
> function()
>
Ah. I don't think I got to functions yet. So are you saying that to use the
brackets is only with an existing variable
Sorry I don't understand.

Thanks

[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

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