Mysql sorgu hatası

0 Cevap php

Nasıl o sorgu boşsa hata vermek için bu kodu yapabilirim?

$ititle = 'test5';

$query = mysql_query("SELECT title, url, MATCH (title, url) " .
    "AGAINST ('test5') AS score FROM interlinks " .
    "WHERE MATCH (title, url) AGAINST ('test5') " .
    "AND title <> 'test5' LIMIT 20");

while ($irow = mysql_fetch_assoc($query) ||  ) 
{
    echo $irow["title"];
    echo '<br />';
}

TY!

0 Cevap