ضع مكان now() ("date("Y/m/d من اجل الوقت
0
جربه هاكذا يا أخي و قلي ان لم يعمل $query = " INSERT INTO `posts` ( post_category_id, post_title, post_author, post_date, post_image, post_content, post_tags, post_comment_count, post_status )"; $query .= "VALUES ('".$post_category_id."','".$post_title."','".$post_author."',".now().",'."$post_image".','".$post_content."','".$post_tags."','".$post_comment_count."','".$post_status."')"; $create_post_query= mysqli_query($connection, $query); if (!$create_post_query) { die("faild" . mysqli_error($connection)); }