I have some code that I have written that pulls out data from a simple database into a dropdown menu.
mysql_connect('localhost' , 'databasename', 'password');
$result=mysql_query("SELECT * FROM Persons");
<option value="<?php echo $rows; ?>"> <?php echo $rows; ?></option>
I would like to update this to a jump menu so that if one of the items of data is selected the user is taken to a page showing all the data from the database about that record.
So I need a form script and a results page please....
All help appreciated.