Well im working on a small php script and i made a query to connect to db like this:
$id = mysql_real_escape_string(strip_tags($_POST['keyword']));
$query = mysql_query("select * from kalimat WHERE name LIKE '%$id%' OR content like '%$id%'");
while($row=mysql_fetch_assoc($query))
{
echo "<a href='interpretation-".$row['id'].".html'><li>".$row['name']."</li></a>";
}
Now i want to echo the result of select from names then echo the result of selecting from content thank you in advance.