Date: 12/18/00
- Next message: Aubrey Davies: "[PHP-DB] DO NOT OPEN - Great Shockwave movie!!!!!"
- Previous message: Chen: "[PHP-DB] How to use "odbc_connect" function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Aubrey Davies: "[PHP-DB] DO NOT OPEN - Great Shockwave movie!!!!!"
- Previous message: Chen: "[PHP-DB] How to use "odbc_connect" function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

