<?function DBConnect() { $conn=mysql_connect("localhost","207",""); if($conn)mysql_select_db(test); return $conn; } function DBClose($conn){ mysql_close($conn); $conn=0; } ?>
原文转自:http://www.ltesting.net