| | Home / |
include ('inc/menu.php'); ?>
| |
if($_GET['artistId']) {
$query = "SELECT * FROM artisti WHERE id = '".$_GET['artistId']."'";
$result = mysql_query($query, $conn);
$data = mysql_fetch_array($result);
?>
|
//Stampo il contenuto della sottosezione che sto mostrando
stampArtistContent($activeTab, $data['id']);
?>
| |
} else {
?>
|
$query = "SELECT * FROM artisti ORDER BY id desc";
$result = mysql_query($query, $conn);
$i=0;
while($data = mysql_fetch_array($result)) {
echo '
 |
'.strToUpper($data['nome']).'
'.$data['testoCorto'.$qlng].'
'.$str['artistaScopri'].'
|
';
$i++;
}
?>
| |
} ?>
| |
include ('inc/footer.php'); ?>