registration page not working
Hey Ray
Just setting up a user registration/login area and have got through to the end but the registration.php is not working (blank screen).
DW is throwing up that the 'if' is incorrect:
@session_start();
if((before page load != "")) {
$_SESSION["rpw"] = "".WA_RandomPassword(8, true, true, true, "!@#$%^*()-_.:,;") ."";
}
?>
On the localhost version of the same page I get this error:
Parse error: syntax error, unexpected 'page' (T_STRING) in C:\xampp\htdocs\friths\registration.php on line 11
Line 11 is if((before page load != "")) { as shown above
Not sure what I did wrong with the tut as going over it again I *think* I followed it to the letter....
Have attached the registartion form in case you need it.
Thanks
Jamie