Er det dette du mener..?
<form action="
http://www.skolestof.dk/chatten/form.php3" method="post" target="chat">
<input type="hidden" name="fra" value="1">
Din besked: <input type="text" name="chat_besked" value="" maxlength="150" size="112"><br>
Skriv til:<br>
<select name="til" style="width:170px">
<option value="0">Alle</option>
<?
while ($row = Mysql_fetch_array($sql_online)) {
?>
<option value='<? echo $row[brugernavn]; ?>'><? echo $row[brugernavn]; ?></option>";
<?
}
?>
</select>
<input type="submit" value="Send" style="width:100;">
</form>