I want to generate a selectbox
using two arrays, one containing the country codes and another containing the country names.
This is an example:
This will create a dropdown menu from an array and automatically assign its respective value.
'Tunisia','us'=>'United States','fr'=>'France');
echo '';
?>
'Tunisia',
'us' => 'United States',
'fr' => 'France'
);
echo '';
?>