Display information from mysql database with only first letter uppercase
Posted on 2013-05-13
I am storing all my data in a mysql database putting it all uppercase (so I am sure about duplicates and I can do non case sensitive search.
Is this a good idea or there are better solutions?
Now the problem is that I am building a jQuery Mobile application and all the text is uppercase.
In php I'd use a couple of commands to make all the text lowercase and then with ucfirst I'd obtain from "TEST" a more pleasing "Test".
How can I do this dinamically in jQuery Mobile?