Voting

: nine plus zero?
(Example: nine)

The Note You're Voting On

taj at yahoo dot fr
6 years ago
// We can make that with this simple FOREACH loop :

$fruits = array("d" => "lemon", "a" => "orange", "b" => "banana", "c" => "apple");

foreach($fruits as $cls => $vls)
{
$fruits[$cls] = "fruit: ".$vls;
}

Results:

Array
(
[d] => fruit: lemon
[a] => fruit: orange
[b] => fruit: banana
[c] => fruit: apple
)

<< Back to user notes page

To Top