I have created a sign up page and it is working but I have one problem.

The page contains username, password, email, address and telephone.
According to what I've reached, user can add all these requirements and can only add "username" to get a success signup
I need a way to make user add all these requirements (username, password,email,address and telephone) not only add 1 requirement.

```
 <?php
 $con = mysql_connect("localhost","root","");
 if (!$con)
 {
 die('Could not connect: ' . mysql_error());
 }

 mysql_select_db("theater", $con);

 $sql="INSERT INTO member (username, password, email, telephone, address)
 VALUES
    ('$_POST[username]','$_POST[password]','$_POST[email]','$_POST[telephone]','$_POST[address]')";

 if (!mysql_query($sql,$con))
 {
 die('Error: ' . mysql_error());
 }
 echo "records added";

 mysql_close($con);
 ?>

```

The `signup.php` page is a normal table that contains inputs username, email, password, address and telephone with a sign up button. I don't think we should use it here, no?