Reply to Re: confused on arrays

Your name:

Reply:


Posted by J.O. Aho on 11/03/07 21:39

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()

--

//Aho

[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

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