Blank PHP page, I know there is an error somewhere.?

Joshua B

New member
There is an error somewhere in my PHP... I can't find it and it won't display anything. There is no error above this
"
if($resultTemp){

$count = mysql_num_rows($resultTemp);


if($count == 1){

$rows = mysql_fetch_array($resultTemp);
$name = $rows['name'];
$pass = $rows['pass'];
$email = $rows['email'];

$name = stripslashes($name);
$pass = stripslashes($pass);
$email = stripslashes($email);
$name = mysql_real_escape_string($name);
$pass = mysql_real_escape_string($pass);
$email = mysql_real_escape_string($email);

$pass = md5($pass);

$table = "name";

$result = mysql_query("INSERT INTO $table(name, pass, email)
VALUES('$name', '$pass', '$email')");
}
else {
echo "Incorrect confirmation code";
}

if($result){

echo "Your account has been activated";

mysql_query("DELETE FROM $tableTemp WHERE confirm_code = '$passkey'";
}
}
"

And well there error is somewhere there. Is anyone willing to help?
 
Back
Top