Associative arrays use named keys that you assign to them. For example:
<?php
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"43");
echo "Peter is " . $age['Peter'] . " years old.";
?>
You can also use a loop through associated array.
To get any assistance related to IT support you can contact with Network Fish London. They will provide you excellent Tech Support.
|