How to search double quotes in fulltext search in sql?

Php coding to make sql search query with four drop down combo boxes.?

  • My sql table named pets. Columns named breed, color, size, gender, postal code. Html page has four drop down boxes named the same, with different options for selection in them. I want to make a sql query where when one option, say breed Akita is selected, the rows for all the akita's with different characteristics mentioned are displayed in the same page. Same with the other columns. Postal code column should be searched as a text box. It might sound easy, but I ve been breaking my head as I don't find an answer. Thanks for your help.

  • Answer:

    "I want to make a sql query where when one option, say breed Akita is selected, the rows for all the akita's with different characteristics mentioned are displayed in the same page." Are you looking for PHP code or a SQL query? The query is straightforward as what you're describing is just a simple: SELECT * FROM pets WHERE columnName = 'columnValue' For example, SELECT * FROM pets WHERE breed = 'Akita'

rapero10... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.