Ugh, case sensitivity..

Discussion in 'PHP' started by Transcendent, Jun 29, 2007.

  1. #1
    Hi guys,
    How can I get around something like this?

    This is just a quick example I wrote up, but...how can I get it to check for the word "none" regardless of uppercase and lowercase? It's a pain.
     
    Transcendent, Jun 29, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    
    if(strtolower($_POST['signupname']) == "none")
    
    PHP:
     
    nico_swd, Jun 29, 2007 IP
  3. Transcendent

    Transcendent Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Wow, I completely forgot about that.
    Thanks for your help.
     
    Transcendent, Jun 29, 2007 IP