PHP
$query = $suchbegriff; // Suchbegriff
$sql = mysql_query("SELECT kw, titel, link AS kw, MATCH(kw, titel, link) AGAINST('" . $query . "') AS matchrank FROM test WHERE MATCH(kw, titel, link) AGAINST('" . $query . "') GROUP BY (kw) ORDER BY matchrank DESC LIMIT 2");
while($array = mysql_fetch_array($sql)) { // Zeile 31
$url_url = $array['link'];
$url_title = $array['titel'];
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /test.php on line 31
Was mache ich falsch?