[PHP-DB] AW: PHP and MicroSoft SQL From: Wenz Christian (christian.wenz <email protected>)
Date: 12/18/00

Hello,

are you using Microsoft SQL Server = MS SQL? Then you need mssql_connect,
mssql_select_db, etc.

Regards
Christian

-----Ursprüngliche Nachricht-----
Von: Padma Jawahar [mailto:padma.jawahar <email protected>]
Gesendet: Montag, 18. Dezember 2000 03:40
An: php-db <email protected>
Betreff: PHP and MicroSoft SQL

Hi,

I have just started coding using PHP. I use MicroSoft SQL Server for my
database. So when I try to execute some queries msql_connect or similar to
these, its giving errors saying
"Call to undefined function msql_connect in xxxx line".

I have phpDB.inc also installed. Since I was not the use who did the set up
and also the first developer using PHP in my office.... I do not know what
could be the reason for me to get this error? Am I missing any libraries or
any thing that has to be included? in the PHP script.

Here is the script I am trying to execute.

<?php
include ("../dblib/phpDB.inc");
$connection = msql_connect(IPAddress,userid,passwd);
$db = msql_select_db("interpro",$connection);
?>

Could you please revert back to me on this? That would be of great help.

Thanks,
-Padma Jawahar.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>