0 1 2 3 4 5 |
<?php $link=mysql_connect('localhost','user','password'); if(!$link) echo "faild"; else echo "successful"; mysql_close(); ?> |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
0 1 2 3 4 5 |
<?php $link=mysql_connect('localhost','user','password'); if(!$link) echo "faild"; else echo "successful"; mysql_close(); ?> |