hi there,,,
i have a query
PHP Code:for ($i = 0; $i <= $noskeyword; $i++) {
$descriptionQuery="SELECT *
FROM news
WHERE (
subject like '%".$keyword[$i]."%'
or content like '%".$keyword[$i]."%'
) ";
$descriptionResult = mysql_query($descriptionQuery) or die(mysql_error());
while ($rowDescription = mysql_fetch_array($descriptionResult,2)) {
$resultOut[] = $rowDescription;
}
}
so everything works well and the final result is in $resultOut
however my resukt are being duplicated.
do you guys see why is it being duplicated?
thanks









Bookmarks