RE: [PHP-DB] undefined function
| From: | Miguel Guirao | Date: | Fri, 21 May 2004 21:58:14 +0000 |
| Subject: | RE: [PHP-DB] undefined function | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34522@lists.php.net to get a copy of this message | ||
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@digitalmente.net]
Enviado el: Viernes, 21 de Mayo de 2004 02:39 p.m.
Para: php-db@lists.php.net
Asunto: Re: [PHP-DB] 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