Location: PHPKode > projects > GWAAU > soeg.php
<?php
	function soeg($tekst_soeg) {

$sql = "SELECT id, resume, MATCH (resume,beslutninger, dagsorden, stikord ) AGAINST ('$tekst_soeg') FROM log WHERE MATCH (resume, beslutninger, dagsorden, stikord) AGAINST ('$tekst_soeg')");
$result=db_query($sql);
$output="";
while($data = mysql_fetch_array($result)){
$output="<b>$data[1]</b> - ";
$output.="<br>$data[2]<br><br>";
}
return $output;
}


?>
Return current item: GWAAU