Posting Problems
Posted: Thu Sep 15, 2005 11:03 pm
Im making a news postings for my friend for his site and well for some reason i keep coming up with this problem 
Thank you
here is the script.Column count doesn't match value count at row 1
Code: Select all
<?php
include 'db.php';
$username = $_GET['username'];
$news = $_GET['news'];
mysql_query("INSERT INTO news (username, news, date) VALUES ('".$username.", ".$news."', now())") or die(MySQL_Error());
header("Location: http://www.webcom-online.org");
?>