Menu
having problems getting the postcode field to to only allow if first and last character is a letter. im tryin 2 use the following…any sugestions?
// Returns true if a letter is found at the beginning of $postalcode.
ereg(“^abcdefghijklmnopqrstuvwxyz”, $postalcode);
// Returns true if a letter is found at the end of $postalcode.
ereg(“abcdefghijklmnopqrstuvwxyz$”, $postalcode);