is it right choose to connect database in template page directly in WordPress site?

If you make data manipulations with mysqli_connect() right, according to database structure etc, it will not break your site. But it’s more safe and logical to use build-in functions to manipulate database data. (Some standarts exists). WordPress has a lot of functions, which allows you to manipulate each wp table’s data. Here are some simple … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)