$res = $db->sql_query("select * from nuke_pujada07 where dni='$_POST[dni]'") or die(mysql_error()); while ($row=mysql_fetch_row($res)){ echo "Campo nombre: ".$row[0];