|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
I am trying to write a MySQL query which will find a single word (or string of characters) in a column. For example it should be able to find "capital high school" if the query is "high".
The query I've tried is SELECT * FROM schools WHERE name = 'high'; I know that the % sign is the wildcard character but everytime I try using it the query fails. Can someone show me the EXACT syntax for the query I'm looking for? ------------------ Luke Bowerman new media arts http://www.judebowerman.com/nma |
|
#2
|
|||
|
|||
|
SELECT * FROM schools WHERE name LIKE '%high%';
|
|
#3
|
|||
|
|||
|
How do you dice up the keyword sting? I'm trying to use php with mySQL?
thanks. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Select * From (finding a keyword) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|