logo

/* connection */ require './files/config/db.config.php'; $hostName = $db_info->master_db[db_hostname]; $userId = $db_info->master_db[db_userid]; $userPw = $db_info->master_db[db_password]; $dataBase = $db_info->master_db[db_database]; mysql_connect($hostName, $userId, $userPw) or die('something wrong'); mysql_select_db($dataBase); mysql_query('SET NAMES utf8'); /* User Defined */ $module_srl = 1154; // Board SRL /* getImage */ $queryGetSlide = "SELECT document_srl FROM xe_documents WHERE module_srl in ($module_srl) GROUP BY document_srl ORDER BY document_srl DESC"; $resultGetSlide = mysql_query($queryGetSlide); //echo $queryGetSlide; ?>