hello , could anyone please point me on how can i read the data i input from an html page to appear on the mysql front server.
ive print screen my problem
this is the signup page ,where i input the user name and password

here's the signup page html code
"""<html>
<head>
</head>
<body>
<h1>Personal Info</h1>
<form name="form" method="post" action="SignUp.php">
<p>UserName:<input type="text" name="usrn" /></p>
<p>Password:<input type="password" name="pass" /></p>
<p><input type="submit" value="Sign Up"/>
<input type="submit" value="Clear" /></p>
</form>
</body>
</html>
"""""
and this is the mysqlserver ,where i want the username and password i entered to show

here's the php code i wrote
""""<?php
$usr=$_POST["usrn"];
$pass=$_POST["pass"];
$db=mysql_connect("localhost","root","");
mysql_select_db("realestate",$db);
$q="insert into Customer Values('$usr','$pass')";
mysql_query($q);
mysql_close();
?>"""""
i would really appreciate any help from you guys.
Thank you.