Whats wrong ??
Posted: Wed May 19, 2004 10:37 am
Failed to execute query: Unknown column 'Helllo' in 'field list'
That is the error msg that i get in my following code. I would like to know what goes wrong with it.
That is the error msg that i get in my following code. I would like to know what goes wrong with it.
Code: Select all
$title = $_POSTї'title'];
$message = $_POSTї'yourFieldNameHere'];
$datex = time();
$result = database("INSERT INTO `xoops_weblog` ( `blog_id` , `user_id` , `cat_id` , `created` , `title` , `contents` , `private` , `comments` , `reads` , `description` , `dohtml` ) VALUES ('', '1', '2', $datex, $title, 'hello', 'N', '0', '0', '', '0')");