AndrewAK
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by AndrewAK
-
-
Thank you Gabrielphp, that worked perfectly. I tested for the negative.
if(!is_numeric($phonenum1)){ $phonenum1Err="Only numbers0-9"}
- 1
-
Here is a snippet of my code. It works fine, but checks for upper and lower case letters.
if (empty($_POST["lastname"])) {
$lastnameErr = "Lastname is required";
} else {
$lastname = test_input($_POST["lastname"]);
if (!preg_match("/^[a-zA-Z ]*$/",$lastname)) {
$lastnameErr = "Only letters and white space allowed";
}
}I need this to check for numbers only IE: 0-9 for a phone number format.
Thank you
What is the proper path to sub-folders?
in CSS
Posted
This Link refers to a file that is in the main folder
What is the proper path used when referencing a file located in a sub-folder?