<?php $emp_det [Name] = "Name"; $emp_det [Age] = "2"; $emp_det [Code] = "8"; $emp_det [Designation] = "System Administrator"; echo $emp_det[Name];
$emp_det = array (Name => "Name", Age => "24", Code => "System Administrator");
echo $emp_det[Name]; ?>
|