Does anyone know how i can fix this error.
Undefined variable: email in C:\wamp\www\Root\siginuppage.php on line 57
if (!preg_match(
"/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/i"
, $email
)) {
I am trying to set up an email verification form but this error occurs before any data is inputted. The undefined variable is email i can assume but how exactly do i define it??
$email = "$email" along with $username="" and $password="" perhaps ?????
I am ridiculously new to this so a simple answer would be very much appreciated.