41 users online (1 members and 40 guests)  

Thread: email script


  Results 1 to 2 of 2

Related

  1. Need help with email script    Forum: Website Scripts Forum
    Replies: 0
  2. Email Script    Forum: Website Scripts Forum
    Replies: 4
  3. Thank you email script    Forum: PHP Forum
    Replies: 2
  4. Please help with email form script    Forum: PHP Forum
    Replies: 1
  1. #1
    samip1983's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2005
    Posts
    2

    Question email script

    Hi,
    Im trying to write a script with the input data being a valid UK postcode (CV44 6HH or BD5 1NH). To validate the postcode do i need a regular expression??

    If the postcode is correct i then need to add a format, which are 'U' for uppercase, 'L' for lowercase, 'NS' for no spaces in the output postcode, and 'SP' for a space in the output postcode.

    Im really confused how to go about it, is it the best option using if, elsif and else statements?

    Thanks

    Sami P

  2. #2
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: email script

    will you define more, i dont understand what you are talking about



Tags for this Thread