Muchisimas gracias pues aqui queda esto para quien le sea util. funciona perfecto.
Código PHP:
<?php
$hand = mysql_connect('localhost', 'root', '');
mysql_select_db("facturador", $hand);
$qry5 = mysql_query("select * from articulos", $hand);
$opt5 = "";
while ($rec = mysql_fetch_array($qry5))
{
if ( $rec['id'] == 1 )
$opt5 .= "<option value=".$rec['id']." selected>".$rec['articulo']."</option>\n";
else
$opt5 .= "<option value=".$rec['id'].">".$rec['articulo']."</option>\n";
}
echo <<< HTML
<form method="POST" action="" name="profesores">
<select size="1" name="profesores" tabindex="1">
$opt5
</select><br><br>
HTML;
?>