ciao a tutti i lettori!vi prego aiutatemi....devo variare l'id di una tabella in php da un link in html....
questo è il codice che non mi da errori ma neanche mi da il risultato!
<php>
<? include("top_foot.inc.php");
top();
?>
<title>Galleria Immagini</title>
<center>
<?
$db = mysql_connect("localhost","root","");
mysql_select_db("tesi d'esame" , $db);
$id=0;
if($prox=1)
{ $id++; }
$query="SELECT * FROM tfoto WHERE id=$id";
$result=mysql_query($query);
while($row=mysql_fetch_array($result))
{
print($row[2]);
}
?>
<table border="0">
<tr>
<td>
Continua...</font>
</td>
</tr>
</table>
<?
?>
</center>
<? foot();
?>
<php>
vi prego ancora aiutatemi!grazie...[PHP]