有mssql_connect()这个函数么?

loveme_y 2002-05-07 12:36:07
怎么报错说undifined function??
怎么解决?
...全文
69 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
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没有呀,我说

21,893

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧