网站首页

>>

PHP初级教程手册


函数:msql_pconnect()



msql_pconnect

打开 mSQL 服务器持续连接。

语法: int msql_pconnect(string [hostname[:port]] , string [username] , string [password]);

返回值: 整数

函数种类: 数据库功能

内容说明

本函数和 msql_connect() 用法及参数均雷同。不同的处在于使用本函数打开数据库时,程序会先寻找是否曾经执行过本函数,若执行过则返回先前执行的 ID。另一个不同的地方是本函数无法使用 msql_close() 关闭数据库。



整理: (www.phpernote.com)

[ 上一页 下一页 ]

|