Jump to content

MySQL capitilization


SJames

Recommended Posts

I have a search function like this: SELECT * FROM page_content WHERE title like '%$term%'

$term is defined through GET data.

 

This works fine untill the user enters something with capitilization that differs from the way it is spelled in the database.

 

Is there a way to use SELECT and ignore the capitilization?

Link to comment
https://forums.phpfreaks.com/topic/67413-mysql-capitilization/
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.