Checking “$zipcode”


"; if (preg_match("/^\d{5}(-\d{4})?$/",$zipcode)) { echo "

“$zipcode” is valid

"; } else { echo "

“$zipcode” is not valid

"; } } ?>