MySQL Forums
Forum List  »  PHP

Re: MySQL Query With LIKE variable
Posted by: damien goor
Date: April 29, 2008 06:44AM

Try this:
$query = "SELECT title, keywords, url FROM table WHERE keywords LIKE '%".$keyword."%'";

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL Query With LIKE variable
April 29, 2008 06:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.