Helpful Information
 
 
Category: Programming Languages
problem in connecting

dear sir/madam,
i have the folowing problem in connecting.

<?
$con = mssql_connect("extreme","db","xx");
?>
but I always get this message every time :

Fatal error: Call to unsupported or undefined function mssql_connect() in c:progra~1apache~1apachehtdocs/script/coba.php3 on line 2

I had the "php3_mssql.dll" files and I've uncomment the "extension=php3_mssql.dll" line on the php3.ini file.

I don't know what should I do again. Anyone can help me ? Please.

Madhu,

Just put conection string like this

mysql_connect (localhost,db,xx);

try this...

I don't know more than this because i am very new to PHP..

i think the platform in use here is Sql Server/WIN NT and the connect string that you have mentioned is for MySQL.



------------------
Anish Modi
Infotech World
India










privacy (GDPR)