PHP MYSQL SIMPLE SEARCH ISSUE

Posted by Kunal on Stack Overflow See other posts from Stack Overflow or by Kunal
Published on 2010-05-10T17:55:23Z Indexed on 2010/05/10 19:24 UTC
Read the original article Hit count: 143

Filed under:
|
|

Hi

I have a table with the following structure:

id int(11), name varchar(250)

I have lots of records in the table but when I am trying to find a particluar record which has the following value on the name field: Lorem ipsum d\'olor sit amet The query is simply returning a blank recordset. I am not being able to figure out this weird behaviour, when my query is as simple as follows:

SELECT * FROM slot_games WHERE name='Lorem ipsum d\'olor sit amet'

Would appreciate your help please! Thanks in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql