Hi sarita,
<?php
$employees["employee 1"]["name"] = "saritha";
$employees["employee 1"]["job"] = "CEO";
$employees["employee 1"]["salary"] = "80,000";
$employees["employee 2"]["name"] = "Anitha";
$employees["employee 2"]["job"] = "Manager";
$employees["employee 2"]["salary"] = "35,000";
$employees["employee 3"]["name"] = "Vanitha";
$employees["employee 3"]["job"] = "Cashier";
$employees["employee 3"]["salary"] = "15,000";
?>
Do go through the above code, you will have a better understanding of arrays. Later loop it and display the values.
Thanks
Jul 23, 2010