//New to PHP, I don't understand why this code does not work. Please help.// I have to use localhost:8080 on my computer.\[code\]<form action="insert.php" method="post">User Name: < input type="text" name="UN"><br><input type="Submit"></form><?php$usern="root";$passw="passw0rd"; //this is not my password$database="db";mysql_connect('localhost',$usern,$passw);@mysql_select_db($database) or die( "Unable to select database");$query = "SELECT FROM unpw";$result=mysql_query($query);$UN=mysql_result($result,0,"UN");mysql_close();echo "Database Output";$first=$_POST['first'];?>\[/code\]