'Code to load database here I just dont want to type it out it is not needed for this. $string = $databasevalue echo' <select name='LAS' value=$String> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> </select> 'ive also tried echo' <select name='LAS' selected=$String> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> </select>
as you can see none of that code works, I need this because when I click update I goto this php page and I need it to laod the values and set them to what exist already in the database. Then when you click submit on this page it writes the $string value please help so that every time I come to this page the selected value = that of the database.

New Topic/Question
Reply




MultiQuote





|