First, I do not have that line in my php.ini file. In what section should I add it? I forgot, I'm using Windows 2000 Server, SQL Server, PHP4 and coding in DreamweaverMX Miguel Guirao Servicios Datacard www.SIASA.com.mx -----Mensaje original----- De: Bruno Ferreira [mailto:blueroom@xxxxxxxxxxxxxxxx] Enviado el: Viernes, 21 de Mayo de 2004 02:39 p.m. Para: php-db@xxxxxxxxxxxxx Asunto: Re: undefined function Miguel Guirao wrote: >I'm receiving this error: > >Fatal error: Call to undefined function: mssql_connect() in >e:\inetpub\wwwroot\sitio\TMP5w3gxy2pnf.php on line 9 > >This is line 9: if (!( $con = mssql_connect($maquina, $usuario, >$password))) > >$maquina = "SERVIDOR"; > $usuario = "sa"; > $password = ""; > $BDnombre = "ProyectoRMA"; > >So, basically, any ideas of the source of this error? > Probably the mssql extension isn't loaded. Open the php.ini file and see that the line reading "extension=php_mssql.dll" isn't commented out. Things should go back to normal. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php