Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Fatal error: Call to undefined function: mssql_connect()


Message #1 by "Albert Tam" <tamalbert@v...> on Thu, 14 Nov 2002 04:35:52
Thanks for the reply...Yeah that was the problem. 

Can I ask you something else?

i get another error: 

Notice: Undefined variable: pid..... 

I know that my script is write: 
$sqlquery="select * from product where pid='".$pid."';"; 

Any clues?

-Thanks again

Albert

-----Original Message-----
From: Nikolai Devereaux [mailto:yomama@u...] 
Sent: Thursday, November 14, 2002 1:19 PM
To: professional php
Subject: [pro_php] RE: Fatal error: Call to undefined function:
mssql_connect()



> i trying to connect to my sql database but i keep getting this error: 
> Fatal error: Call to undefined function: mssql_connect()


Sounds like you haven't enabled the mssql extension.

You have to uncomment (remove the leading semicolon) the following line
from
php.ini:

extension=php_mssql.dll

and make sure that the php_mssql.dll is in the php extensions dir
specified in php.ini.


Hope this helps,

nik




  Return to Index