Web, Shutter, Music and Everything
$fruits = array(0 => “apple”, 1 => “orange”, 2 => “lemon” ); foreach($fruits as $key => $fruit) { printf(“%s is in index %s”, $fruit, $key); }
Tags:
Code Snippets | PHP
Related posts
Get notified when a new post is published.