12
Hello guys,
I use News 1.44 and this hack doesn't work, i don't know what is wrong.
My query to database (example):
SELECT * FROM xoops_stories WHERE MATCH (keywords) AGAINST ('xoops, cms, php') AND storyid != '2'
I add fulltext to 'keywords' row.
The code:
$number = mysql_numrows($wykonaj);
echo $number;
always return '0'
I think that this query is wrong...
I don't have any other ideas...
Could anyone help me ?
----edit-----
I removed from query
AND storyid != '$id'
and this query return the same story. Something of this query must be wrong.
----edit-----
I check several queries and I know what the problem is. This query search stories which include all of those keywords in row 'keywords' not one...
Any ideas ?
----
I work on XOOPS 2.0.13.2 - in this version something must blocks this query.