2014年5月4日星期日

php connect database

<?php
$link_identifier = mysql_connect('localhost', 'root', 'password');
mysql_set_charset('UTF8', $link_identifier);
mysql_select_db("database name");
?>

没有评论:

发表评论