and what about this ... $sql = "SELECT a_column FROM table WHERE text_column LIKE '% $word %';
matching the word in the text ... $sql = "SELECT a_column FROM table WHERE text_column LIKE '$word %'; matching the word at the begining of the text ... $sql = "SELECT a_column FROM table WHERE text_column LIKE '% $word'; matching the word at the end of the text ... > > > $word = 'bingo'; > > $sql = "SELECT a_column FROM table WHERE text_column LIKE '%$word%'; > > $res = mysql_query($sql); > > // etc... for displaying results -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]