News > "; $qData = "select * from `news` where `NewsID` = '$_GET[NewsID]'"; $rData = mysql_query($qData) or die(mysql_error()); if(mysql_num_rows($rData) == '0') { echo "
No news found in database.
"; } else { $aData = mysql_fetch_array($rData); echo "$aData[Title]

"; if(!empty($aData[Picture])) { $Image = ""; } else { $Image = ""; } echo"
$Image Titolo: $aData[Title]
Data: $aData[Date]
Descrizione: $aData[Description]

"; } include"footer.php"; ?>