Código PHP:
<input type="text" class="register" name="email" value="<?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());
while ($qry = mysql_fetch_array($result)) {
echo "$qry[email]";
}
?>" />
¿Hay alguna forma para que no se me desconfigure o de hacer el codigo mas simple?