$result = mysql_query("SELECT id,status,priority,title from books
WHERE status='active' and MATCH(title)
AGAINST ('".$keyword."' IN BOOLEAN MODE)
order by priority desc, title asc limit $from,$limit")
or die(mysql_error());