This is where you share YOUR scripts with others
2 posts • Page 1 of 1
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)).