Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.7k views
in Technique[技术] by (71.8m points)

php - Mysql Like query not match the record

I am trying to match the record with the like operator. I need to get this record match with the title. enter image description here

But the title has lots of quotes so the operator not matching the record.

SELECT * FROM wp_product_library WHERE tittle LIKE 'dsdasd"ddd | sdfsdf'ss%'

Mysql return zero records enter image description here

Can anyone help to solve this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...