Markup,\[code\]<span style="padding-left: 76px"> <span style="padding-left:5px"> <select id="select1" name="requestdbtype" value="http://stackoverflow.com/questions/10545997/<?php echo $type ?>"> <?php $options = array('DB2' => 'DB2', 'MySQL' => 'MySQL', 'Oracle' => 'Oracle', 'PostgreSQL' => 'PostgreSQL', 'SQLite' => 'SQLite', 'SQL Server' => 'SQL Server', 'Sybase' => 'Sybase'); foreach($options as $value =http://stackoverflow.com/questions/10545997/> $type){ echo"<option value='http://stackoverflow.com/questions/10545997/$value'>".$row['requestdbtype']."</option>"; } ?> </select> </span></span>\[/code\]I'm having trouble displaying the options. The current option displayed should be the value of \[code\]$row['requestdbtype']\[/code\]. But my display only shows the current value as all the options, please help.