Jump to content

[SOLVED] case sensitive


lc21

Recommended Posts

In case you need to know ...

 

If you want users to type in Smith and NOT find smith, then use the WHERE binary $name = ... approach.

 

If you want to find and display 'Smith' even when they enter smith, convert their input using ucfirst() and run a normal select on the db

Link to comment
https://forums.phpfreaks.com/topic/60095-solved-case-sensitive/#findComment-298958
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.