Current Path : C:/AppServ/www/stato/ |
Current File : C:/AppServ/www/stato/connect.php |
<? $host="localhost"; $user="Navin028"; $pw="Navin028"; $dbname="mfu_db"; $c = mysql_connect($host,$user,$pw); $charset = "SET NAMES 'tis620'"; MYSQL_DB_QUERY($dbname,$charset) OR DIE("Error: เกิดความผิดพลาด <br>$charset<br>\n"); if (!$c) { echo "<H3>ไม่สามารถติดต่อฐานข้อมูลได้</H3>"; exit(); } ?>