im doing this project, they is a page called insert a review, in my insert review page , before you can write a review you select the title of the book, i use a drop down menu for this, so the user writes a review on an existing book in my books database,
but now the issue is, my drop down menu is showing old records, book's title that i have deleted. and when i display my books table, the old records don't show, which is correct.
i just want to know why is my drop down menu showing old deleted records?
echo "<select name='title' >";
$res=mysql_query("SELECT * FROM mbooks");
echo " selected=selected";
echo ">" .$entry['title']. "</option>";
Edited to put the code into the code snippet ~Ray