Salve a tutti,
In questo script, se devo leggere soltanto un valore (il campo idart) che cosa posso utilizzare invece del ciclo while...Codice PHP:
$id = $_GET['id'];
...
$query= "SELECT * FROM $tabella WHERE idart='$id'";
$result = mysql_query($query,$db) or die(mysql_error());
while ($row = mysql_fetch_array($result)) {
$id_art = $row['idart'];
}
Grazie