Re: PHP and MicroSoft SQL
| From: | Matthew Ballard | Date: | Mon, 18 Dec 2000 04:28:44 +0000 |
| Subject: | Re: PHP and MicroSoft SQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5307@lists.php.net to get a copy of this message | ||
You want the mssql functions, not the msql functions, they are for to completely different programs (mssql for Microsoft SQL, msql for mSQL).
Matthew
At 01:40 PM 12/18/2000 +1100, you wrote:
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.