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