A
Anonymous
Guest
Im makeing this news submiting system but then i post news, nothing happens :S
when i post i get this message:
its probably a simple answer cuz its about 3am an i need some sleep...
:help:
Code:
<?php
include("connect.php");
$headline = $_POST['headline'];
$postedby = $_POST['postedby'];
$content = $_POST['content'];
$date = date("l dS of F Y h:i:s A");
$password = $_POST['password'];
if ($passord="xxx"){
mysql_query("INSERT INTO `n1_news` ( `id` , `headline`, `dato` , `postedby` , `content`) VALUES ('', '$headline' '$date', '$postedby', '$content');");
echo "Thanks For Posting News.<br>You are now getting redirected...";
}
else {
echo "That password was wrong my friend...";
die;
}
?>
Thanks For Posting News.
You are now getting redirected...
its probably a simple answer cuz its about 3am an i need some sleep...
:help: