$giocatore = $_GET[q]; ?> $vincitore = 'vincitore'; //$giocatore = 'Alessandro Grande'; $get_giocatori = mysql_query("SELECT AA.*, AA.name AS tagghete, C.*, B.item_id FROM tags AA, items_tags B, items C WHERE AA.name IN ('$vincitore','$giocatore') AND AA.id = B.tag_id AND C.id = B.item_id GROUP BY B.item_id HAVING COUNT(tag_id) = 2; ",$connection) or die(mysql_error()); ?>
Questi gli High di echo $giocatore; ?> nel suo cammino nel DowntownBaketball
while($data = mysql_fetch_array($get_giocatori)) { $miniatura = "/gallery/var/thumbs/".$data[relative_path_cache]."?m=".$sdata[updated]; $fotogrande = "/gallery/var/albums/".$data[relative_path_cache]."?m=".$sdata[updated]; $nomitags = $data[tagghete]; ?>
$get_tagghe = mysql_query("SELECT
AA.*,
AA. name AS nomitagg,
B.*
FROM tags AA,
items_tags B
WHERE B.item_id = '$data[item_id]' AND
B.tag_id = AA.id
",$connection)
or die(mysql_error());
while($data = mysql_fetch_array($get_tagghe))
{
$stringa = $data[nomitagg];
//$stringa = str_replace($giocatore,"",$stringa);
$stringa = str_replace(vincitore,"",$stringa);
?>
echo $stringa.""; ?>
}
?>
|
} ?> include('footerN.php'); ?>