include ("include/header.inc.php");
include("include/config.php");
include("include/dbconnect.php");
$result = mysql_query("SELECT * FROM $table ORDER BY argomento",$db);
echo "
Indice per Argomento
";
$alternate = "2";
while ($row = mysql_fetch_array($result)) {
$id = $row["id"];
$firstname = $row["firstname"];
$lastname = $row["lastname"];
$titolo = $row["titolo"];
$argomento = $row["argomento"];
//echo $firstname;
if ($alternate == "1") {
$color = "#ffffff";
$alternate = "2";
//echo $firstname;
}
else {
$color = "#ffffff";
$alternate = "1";
}
echo " |
$argomento $titolo - $lastname $firstname |
";
}
echo "
";
include ("include/footer.inc.php");
?>