Page 1 of 1

Re: blank page after form submission

Posted: Mon Sep 26, 2011 2:42 am
by jorgepinho

You dont seam to be sending any email. mail(...) missing

As far as I can see, the blank page means that everything is OK (no errors doesnt mean it works)

Re: blank page after form submission

Posted: Sun Oct 23, 2011 2:50 pm
by yassinebelkaid87
Well, you must have a mail() function, this function that will send the data entered by your users to your email address. if there's a blank page, it means either there's no error and in this case it should display a success message, but i think there's an error but it's not shown maybe because you didn't declare, or you didn't echo it to be displayed, i noticed that in your : $string_exp = "/^[A-Za-z .'-]+$/"; and you made this condition for age : if(!preg_match($string_exp,$Age)). this is wrong, because age should be a number (integer) not a text (string), so it should be $string_exp = "/^[0-9]+$/"; and you can use this function : if(is_numeric($age)).

Good Luck.