ob_start();
require_once("../conn.php");
require_once("access.php");
require_once("LeftStyles.php");
$e1 = "select * from yellow_articles where articleid='$_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_articles set
articletitle = '$_POST[title]',
articledesc = '$_POST[articledesc]'
where articleid='$_POST[id]'";
mysql_query($q1) or die(mysql_error());
header("Location: Managearticles.php ");
exit;
//echo "