This is for a PHP application using PDO for the database binding. I'm working on an edit form and what I have so far works perfectly except for the drop down menu. I can't seem to get it to show the current value of the device I'm editing. It only shows a blank line. Any advice would be greatly appreciated.
<select name='connectedTerminal' id='connectedTerminal'>
<option value='0'>Select Terminal</option>
<option value='$row[connectedTerminal]' selected='selected' text='$row[connectedTerminal]'></option>
$options_terminal;
</select>