I'm running this query:
<?php //we need to connect to the database so require('db/db_connect.php'); ?> <?php $query = "SELECT * FROM EventDates WHERE EventID = '22'"; $results = mysql_query($query) or die(mysql_error()); ?>
Which works no problem, as I can get the results to display as Text.
However I'd like to take the results and put them into a Drop Down Menu to pass on to the next part of my form.
Could anyone adivse how I take the results and put the into the drop down, I cant seem to get the code right, and just get the php partly displayed in the box!