News
最新情報
最新情報
_db_server, $consts->_db_user, $consts->_db_password); //mysqli_query($db,"SET NAMES utf8");// 7.2でワーニング出る? mysqli_select_db($db, $consts->_db_name); $db_tb = $consts->_news_tb; $query = "SELECT * FROM $db_tb WHERE id = {$id}"; $res = mysqli_query($db, $query); $row = mysqli_fetch_assoc($res); ?>