if($_POST['submit'])

$name=$_POST['name'];
$username=$_POST['username'];
$pass=$_POST['password'];
$email=$_POST['email'];

if(!$name||!$username||!$pass||!$email)
echo '<p class="error">* Please fill out all fields</p><br />';
else
{
}

1 Mi

inihan commented: Secure from what? hacking or sql injection? +0

nice

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.