Results 1 to 2 of 2

Thread: Caps to Non caps

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2003
    Location
    Auckland
    Posts
    1,139

    Caps to Non caps

    I want to stop users adding stuff to my sql database in caps.... now is this a code that should be added when the user writes it in the text box or will it be a code at sql insert phase?

  2. #2
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    well, both can do it. Safer is to do it at the SQL phase, but I don't know what functions to use, in JavaScrip it is:
    mystr=mystr.toLowerCase()

    edit:
    I found the function in PHP that you shoulduse for this.
    Last edited by Acidic; Aug 1st, 2004 at 08:52 AM.
    Have I helped you? Please Rate my posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width