top
$conn=mysql_connect("*ip*","*name*","*pass*")or die ("޷ݿ");
$db=mysql_select_db("*db*")or die("ûҵݿ");
end
