<?php
session_start();
include 'dbc.php';


$userid=$_SESSION["userid"];
$today=date("d-m-Y");


$home_work=$_POST["home_work"];

	$sql = "Insert into notice4 (id,date,notice,user_id) values (null,'$today','$home_work','$userid')";
mysql_query($sql) or die("Error : " . mysql_error());

	echo "Record Saved Sucessfully";
?>
<a href="notice3.php"> Back </a>