Jump to content

[SOLVED] Searching for names?


marcb

Recommended Posts

Hi, I'm having trouble searching my d/b using a person's name when the name includes a '.

 

For example, if I want to run this query:

 

SELECT * FROM people WHERE surname='O'Neal';

 

This has a bit of a fit as it thinks the ' in O'Neal is the end of the search criteria and then doesn't know what to do with the Neal bit.

 

Am I being a noob?

Link to comment
https://forums.phpfreaks.com/topic/53865-solved-searching-for-names/
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.