[SIZE=2]
$query = mysql_query("INSERT INTO Users (Username, Password, Name, Email, Date, IP, Actkey) VALUES ('$username','$password','$name','$email','$date', '$ip','$act')") or die(mysql_error());
$send = mail($email , "Registration Confirmation" , "Thank you for registering with UcheAlone.\n\nYour username and password is below, along with details on how to activate your account.\n\nUser: ".$username."\nPass: ".$pass."\n\nClick the link below to activate your account:\nhttp://EDITTHISURL.COM/activate.php?id=".$act."\n\nPlease do not reply, this is an automated mailer.\n\nThanks", "FROM: no-reply@uchealone.com");
Please check each step using 'echo' whether the variables contain data you post using the form. It would be easier to spot any error by breakdown the script rather than putting everything in one line. Try below:
[PHP]mysql_query("INSERT INTO Users (Username, Password, Name, Email, Date, IP, Actkey) VALUES ('$username','$password','$name','$email','$date', '$ip','$act')") or die(mysql_error());
$subject = "Registration Confirmation";
$message = "Thank you for registering with UcheAlone.\n\n";
$message .= "Your username and password is below, along ";
$message .= "with details on how to activate your account.\n\nUser: ";
$message .= $username."\nPass: ".$pass."\n\n";
$message .= "Click the link below to activate your ..";
mail($email, $subject, $message);
[/PHP]