View Single Post
  #5 (permalink)  
Old 09-28-06, 07:37 AM
Tjobbe Tjobbe is offline
Newbie Coder
 
Join Date: Sep 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
just this second fixed it, thanks for replying!

PHP Code:

<?


include "dbconnect.php";

$title=$_POST['title'];
$content=$_POST['content'];

$sqlquery "INSERT INTO entries VALUES(id,'$title','$content',NOW())";

$results mysql_query($sqlquery) or die(mysql_error());

print 
"<html><body><center>";
print 
"<p>You have just entered this record<p>";
print 
"title : $title<br>";
print 
"content : $content<br>";
print 
"</body></html>";

?>
Reply With Quote