arrays :-)
you are defining arrays like:
$x = array ( 'a' => 'Apple' , 'b' => 'Banana' , ... );
-- red
Gabe wrote:
Thanks for the page. That was helpful. Just to make sure, is that
operator only typically used then with foreach loops and arrays?
"Matt Matijevich" <[EMAIL PROTECTED]> wrote i
Thanks for the page. That was helpful. Just to make sure, is that
operator only typically used then with foreach loops and arrays?
"Matt Matijevich" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [snip]
> foreach ($some_array as $name=>$value)
> {
> ... some code ...
> }
> [/sni
[snip]
foreach ($some_array as $name=>$value)
{
... some code ...
}
[/snip]
http://www.php.net/foreach
will give you a good explanation.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo