ob_start();
require_once("../conn.php");
require_once("access.php");
require_once("LeftStyles.php");
$e1 = "select * from yellow_news where newsid='$_GET[id]'";
$result=mysql_query($e1) or die(mysql_error());
$line=mysql_fetch_array($result);
// Prints something like: Monday 15th of August 2005 03:12:46 PM
if(isset($_POST[s1]))
{
$date=date('F d Y H:i');
$q1 = "update yellow_news set
newstitle = '$_POST[title]',
newdescription = '$_POST[DetailedDesc]'
where newsid='$_POST[id]'";
mysql_query($q1) or die(mysql_error());
header("Location: Managenews.php ");
exit;
//echo "