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