<?php $host="localhost"; $uname="database username"; $pass="database password"; $database = "database name"; $connection=mysql_connect($host,$uname,$pass) or die("Database Connection Failed"); $result=mysql_select_db($database) or die("database cannot be selected"); ?>
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/6659.html