Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9299885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T22:39:44+00:00 2026-06-18T22:39:44+00:00

Good day. I have row in database: When i make first select: SELECT *

  • 0

Good day.

I have row in database:

database

When i make first select:

SELECT * FROM `table` WHERE `name` Like '%Коляска \"Balmoral\" Silver Cross%'

i get null(num rows = 0)…
But if i make second select:

SELECT * FROM `products` WHERE `name` Like '%Balmoral%'

i get num rows = 1.

Why not work first select and how make right select?

Slashes in database and in select becose i use mysql_real_escape_string when i insert new row and use select

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T22:39:45+00:00Added an answer on June 18, 2026 at 10:39 pm

    Use this:

    SELECT *  FROM `titles` WHERE `title` LIKE '%Коляска \\\\"Balmoral\\\\%" Silver Cross'
    

    Explanation: the \ must be escaped with \ for SQL, but for PHP we need extra \ for escaping also.

    Or Simply:

    SELECT *  FROM `titles` WHERE `title` = 'Коляска \\"Balmoral\\" Silver Cross'
    

    However, I don’t know why!!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good day, I have a hibernate mapping which goes something like this <class name=Person>
Good day, I have like 15 images I need to be buttons. I have
Good Day, I have a Hibernate mapping that looks something like this: public class
Good day all I have the following question: I would like to use Chart
Good day 4 u all I have a list of objects My objects like
Good day, I have a parent gridview with a few columns. On each row,
Good day, I have a MySQL table which has some duplicate rows that have
Good day I have a custom TextBox that has a IndicatorTextBox.ui.xml file as well
Good day - several days have passed while i was trying to transport my
Good day I wanted to have a general URL to access the Desktop of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.