There is a query to the MySQL database
SELECT id, short_story, xfields, title, category, alt_name FROM dle_post WHERE approve=1 AND title LIKE 'Работа' ORDER BY date DESC LIMIT 0,7
It is necessary that he displays all the lines with a match in the title of the text Work I do through the
while ($row = mysql_fetch_array($res) ){ echo $row['title']; } In the answer is emptiness. If done through RLIKE, it displays 1 entry with a similar title title.
%), if you certainly want to search for part of the string. mysql.ru/docs/man/Pattern_matching.html - Mike