PHP and MicroSoft SQL
| From: | Padma Jawahar | Date: | Mon, 18 Dec 2000 02:40:03 +0000 |
| Subject: | PHP and MicroSoft SQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5303@lists.php.net to get a copy of this message | ||
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.