/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function array_from_keys_values($keys, $values) { foreach($keys as $index => $key) { $value = $values[$index]; $ar[$key] = $value; } return $ar; }