added length for function LEFT MySQL in article.php & list.php, added parameter length in database.php