birde sizin kodunuzdan sonra şöyle bir hata alıyorum sonraki satırlarda
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/siteismi/public_html/includes/kraloyun.php on line 13

kod:
function searchgames($page,$searchTerm) {
    global $siteurl, $filesperpage, $sefriendly, $resimler;
    $result = mysql_query("SELECT * FROM files WHERE match(title, description)against('$searchTerm') && status ='1'");
 
if(empty($searchTerm)) {
echo "Site adi";
} else {
echo $searchTerm;
}
 
    if (mysql_num_rows($result) == '0') {
        echo " etiketindeki oyunlar gösteriliyor.";

    $result2 = mysql_query("SELECT * FROM files order by rand() desc limit 22");
    
        $fileinrow="1";
    while($row = mysql_fetch_array($result2)) {
        $fileid = $row['fileid'];
        $filetitle = $row['title'];
        $filerating = $row['rating'];
        $filedescription = $row['description']." oyunları, ".$row['description']." flash oyunları, ".$row['description']." kral oyun, ".$row['description']." oyunlar oyna,";
        $fileicon = $row['icon'];
        $iconlocation = $row['iconlocation'];
        $timesplayed = number_format($row['timesplayed']);
        
        if ($iconlocation == '1') {
            $imageurl = $resimler.$fileicon;
        } else {
            $imageurl = $fileicon;
        }
        
        if (strlen($filedescription) > '40') {
            $filedescription = substr("$filedescription",0,37)."...";
        }
not: yardımcı olacak arkadaşın aklının karışmaması için üstteki kod ile hata veren kodu birleştirip verdim.