Just wondering if there is a way to rename scalar values to associative values (in an array).
For example, I use fgetcsv() to read a .CSV file into array $a. So by default, the keys are 0, 1, 2, ...
I would like to rename the scalar keys to more meaningful names as column names. How can I do this?
Thanks!