allora crei un array
$date= array();
$cont=0;
$sql="SELECT * FROM tab_avvisi WHERE testo LIKE '%$testo_cercato%'";
$res=mysql_query($sql, $db) or die(mysql_error());
while($row=mysql_fetch_array($res))
{
$date[$cont]=$row["date"];
$cont++;
}
$sql="SELECT * FROM tab_news WHERE testo LIKE '%$testo_cercato%'";
$res=mysql_query($sql, $db) or die(mysql_error());
while($row=mysql_fetch_array($res))
{
$date[$cont]=$row["date"];
$cont++;
}
alla fine nell'array $date avrai tutte le date

Rispondi quotando