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");
?>