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
Navigation:
[Reply to this message]
|