I have a list of variables
$variable[0]
$variable[1]
$variable[2]
The amount of variables changes so i've used $total = count($variable) to find the amount there are.
How would i tell php to create a dropdown menu with the amount of options=$total and then fill the options with $variable[0] etc.
I know i can use a loop to increase the value of say $i by one each time to that i can use $variable[$i] each time, i'm just stuck with adding the whole thing to a dropdown menu with the right number of option...