I'm coding a CMS system to my friend and everything has going fine until yesterday, so updating query don't work somehow, I have double checked the queries and cannot find an error. Everything else working just fine maybe I have done a little mistake what I cannot see , if you guys could help me out a little bit I would appreciate it ..
here is my sql query
$query = "UPDATE posts2 SET";
$query .= "post_title = '{$post_title}', ";
$query .= "post_category_id = '{$post_category_id}', ";
$query .= "post_date = now(), ";
$query .= "post_author = '{$post_author}', ";
$query .= "post_status = '{$post_status}', ";
$query .= "post_tags = '{$post_tags}', ";
$query .= "post_content = '{$post_content}', ";
$query .= "post_image = '{$post_image}' ";
$query .= "WHERE id = {$the_post_id} " ;