Quick and simple one, what do you think the best method for solving this is?
I have an associative array, let's call it $person, with values such as;
Code: Select all
"name" => "Bob"
"sex" => "male"
"weight" => 185
.
.
.
Code: Select all
0 => "name"
1 => "sex"
2 => "weight"
.
.
.
Code: Select all
0 => "Bob"
1 => "male"
2 => 185
.
.
.