M
muralidharck
Hi all,
Can anyone tell me or point to a reference to know more about using
non-numeric indices for arrays?
If so, how can I use it for my applications?
Typical scenario would be database records, where I want my index to be
based off Last name . and would like to access the array as
$Record[$LastName][$Salary] = $1000;
This way I dont need to parse the entire list (myself) to find the
matching last name and then assign that record the salary value.
Thanks,
Murali
Can anyone tell me or point to a reference to know more about using
non-numeric indices for arrays?
If so, how can I use it for my applications?
Typical scenario would be database records, where I want my index to be
based off Last name . and would like to access the array as
$Record[$LastName][$Salary] = $1000;
This way I dont need to parse the entire list (myself) to find the
matching last name and then assign that record the salary value.
Thanks,
Murali