有mssql_connect()这个函数么?

loveme_y 2002-05-07 12:36:07
怎么报错说undifined function??
怎么解决?
...全文
28 点赞 收藏 5
写回复
5 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
bombshell 2002-05-07
PHP Manual
Prev Next






mssql_connect
(PHP 3, PHP 4 >= 4.0.0)

mssql_connect -- Open MS SQL server connection
Description
int mssql_connect ( [string servername [, string username [, string password]]])


Returns: A positive MS SQL link identifier on success, or FALSE on error.

mssql_connect() establishes a connection to a MS SQL server. The servername argument has to be a valid servername that is defined in the 'interfaces' file.

In case a second call is made to mssql_connect() with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned.

The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling mssql_close().

See also mssql_pconnect(), mssql_close().

回复
xinxin1982 2002-05-07
有这个函数
你在php.ini中把他前面的;去掉就可以了
回复
wasy 2002-05-07
修改php.ini中的extensions的一行
回复
sunblue 2002-05-07
如果没有这个,你怎么读呀,唉
回复
sunblue 2002-05-07
你调用了它的.dll没有呀,我说
回复
相关推荐
发帖
基础编程
创建于2007-09-28

2.1w+

社区成员

从PHP安装配置,PHP入门,PHP基础到PHP应用
申请成为版主
帖子事件
创建了帖子
2002-05-07 12:36
社区公告
暂无公告