Código PHP:
<?
include "../includes/config.php";
mysql_connect($server, $db_user, $db_pass) or die (mysql_error());
$result = mysql_db_query($database, "select * from $table WHERE username = '$username'") or die (mysql_error());
$qry = mysql_fetch_array($result);
?>
<input type="text" class="register" name="name1" value="<?php echo $qry[name1]; ?>" />
1º - Crear un select parecido al siguiente:
Código PHP:
<select name=" " onChange="showimage()">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
</select>
2º - Crear un textarea...