Hello Antonio.

On Fri, Jun 08, 2001 at 11:50:25PM -0700, [EMAIL PROTECTED] wrote:
[...]
> select * from [table] where ([string] like %[keyword]$)

SELECT * FROM table1 WHERE ("helloworld" like CONCAT("%",keyword,"%")

should work, IMHO.

Another possibility is to use string functions like this:

SELECT * FROM table1 WHERE LOCATE(keyword, "helloworld") > 0

Bye,

        Benjamin.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to