hi there,
I have a problem with a registration code, somehow it ignores the following code
if(!isset($dbemail)) {
if($_POST['password'] == $_POST['vpassword']) {
if(isset($_POST['username'], $_POST['password'], $_POST['vpassword'], $_POST['email'])) {
#Everything ok
#write data to database
#send activation email
echo "CHECK!";
} else {
echo "<font color=\"red\"><center>Error: You have to fill out all information required!</center></font>";
echo $form2;
exit();
}
} else {
echo "<font color=\"red\"><center>Error: The passwords did not match!</center></font>";
echo $form2;
exit();
}
especially i mean the line where it checks if all $_POST's are set. But I always get the Check echo'ed, dont know what I am doing wrong I dont see the error 🙁
Please help me
btw: the closing tags are all there, i just thought it would not be necessary to copy it here.