<?php include ("db.php");?>
<HTML>
<HEAD>
<TITLE> </TITLE>
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<?
$nume_tag=$row["nume_tag"];
$sql = "select *, MATCH (titlu, description) AGAINST ('nume_tag') AS id_unic
FROM produs WHERE MATCH (titlu, description) AGAINST ('nume_tag')
ORDER BY id_unic DESC LIMIT 10";
$result = mysql_query ($sql);
while($row = mysql_fetch_array($result)){
$id_unic=$row["id_unic"];
$titlu = $row["titlu"];
$description = $row["description"];
echo"
$titlu : $description
";}?>
</BODY>
</HTML>