Hey all: I have this array:
$names = array('a','b','c');
foreach($names as $key => $value ) {
echo $key;
}
where a, b, c come from a name[] field
The input is:
0 1 2
There is an array function to replace the output result as:
1 2 3
I want to rename the first key because I'll insert theme into a mysql table.