<td class="content_vidus"><?php
$id=$_GET[id];
if (isset($_GET['id']) && (!preg_match("/^[0-9]+$/", $_GET['id']) || $_GET['id']=='')) header('location: index.php');
$result = mysql_query("SELECT * FROM naujienos WHERE id='$id'");
while($row = mysql_fetch_array($result))
{
echo "".$row['naujiena_full']."";
}
mysql_close($con);
?><br /><br />