ok, grazie. circa l'index.php:
$tutto = "SELECT id, nome, cognome, eta FROM main";
$query = mysql_query ($tutto,$db)
or die ("Non riesco ad eseguire la richiesta $tutto");
top();
// Preparo la tabella per accogliere i dati
echo "
<html>
<body>
<h2><center>Movie Review Database</center></h2>
<table>
<tr>
<th>Movie Title</th>
<th>Movie Director</th>
<th>Movie Lead Actor</th>
</tr>
";
while ($valori = mysql_fetch_array ($query)){
$a0 = $valori ["id"];
$a1 = $valori ["nome"];
$a2 = $valori ["cognome"];
$a3 = $valori ["eta"];
echo "
<tr>
<td width=\"14%\"><a href=\"view.php?id=$valori[id]\">$a1</td>
<td width=\"14%\">$a2</td>
<td width=\"14%\">$a3</td>
</tr>
";
}
echo "</table>
circa view.php, che e' quello che dovrei vedere dinamicamente cliccando su ogni link:
$tutto2 = "SELECT descr,nick FROM nomi";
$result = mysql_query($tutto2);
$array = mysql_fetch_array($result);
print "NOME: ".$array['descr']."<br>";
print "DESCRIZIONE: ".$array['nick']."<br>";
spero che qualcuno mi aiuti...
grazie a tutti