I have a working drop down box but im not sure how to make it so that if they chose "volksvagen" it would display
"Your Favourite Car is Volksvagen!"
and so on for each of the options, here is the code for the drop down box.
<div id="dropdown">
<?php
$array1 =
array('Volkswagen' , 'Renault' , 'Land Rover');
echo' <select name="cars">';
foreach($array1 as $cars){
echo'<option value="'.$cars.'">'.$cars.'</option>';
}
echo'</select>';
?>
</div>