Jump to content


Pulling data from mysql that contains a phrase or word, not an exact match

  • Please log in to reply
1 reply to this topic

#1 skatermike21988

  • Members
  • PipPipPip
  • Advanced Member
  • 100 posts
  • LocationFlorida

Posted 14 September 2006 - 06:12 PM

ok i'm just curious to if there is a way to pull data out of mysql if the row contains a word but is not a exact match.

What i am doing is making a search script for my site. And if someone search's for say BLAH and the row in the database contains Hi my name is blah. it will pull out that row.

#2 makeshift_theory

  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts

Posted 14 September 2006 - 06:17 PM

Check out the main site, lot of useful info:


That should do it.
<b>Emacs</b> it's great for the body.
<b>Trust the TechnoLust</b>

<b><u>Have a question check here:</u></b>
PHP Manual: http://www.php.net

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users