Codice PHP:
$query = "select * from tabella order by id desc limit 4";
$sql = mysql_query($query) or die (mysql_error());
while($result = mysql_fetch_array($sql)){
echo $result['id'];
}
Codice PHP:
$query = "select * from tabella order by id desc limit 4";
$sql = mysql_query($query) or die (mysql_error());
while($result = mysql_fetch_array($sql)){
echo $result['id'];
}