A better suggestion on how to approach this then what I have done so far would be appreciated. Right now the dates have to be entered in the correct format year-month-day. Is there a way to automate this task more, with drop downs, just not sure how you would combine the information from the drop downs to submit to one field with my sql INSERT INTO command. This is what it looks like for a quick visual site
İşte aşağıda benim kod bir örnektir.
$date = $_POST['date'];
$title = $_POST['title'];
$entry = $_POST['entry'];
if(($date !="") && ($title !="") && ($entry !="")) {
$sql = "INSERT INTO news (date,title,entry)VALUES(
\"$date\",
\"$title\",
\"$entry\"
)";
$results = mysql_query($sql)or die(mysql_error());
}
?>
<form name="formS" method="post" action="insert.php">
<p>
Date:<input type="text" name="date" id="date" />
</p>
<p>
Title<input type="text" name="title" id="title" />
</p>
<p>
Entry:<textarea name ="entry" ></textarea>
</p>
<p>
Submit:<input type="submit" name="submit" id="submit" />
</p>
</form>