RE: [PHP] Newbie Question
| From: | Hunter, Ray | Date: | Wed, 13 Mar 2002 13:49:09 +0000 |
| Subject: | RE: [PHP] Newbie Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88342@lists.php.net to get a copy of this message | ||
What type of OS are you running this application on and how was php
compiled?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Greg [mailto:greg@thedatabaseplace.com]
Sent: Wednesday, March 13, 2002 6:47 AM
To: php-general@lists.php.net
Subject: [PHP] Newbie Question
I have an app that worked with mySQL, but now I'm trying to make it use SQL
Server. The function that connected to to the mySQL was:
mysql_pconnect($db_host, $db_user, $db_pass) or die("Unable to connect to
SQL server");
I tried to change it to "sql_pconnect($db_host, $db_user, $db_pass) or
die("Unable to connect to SQL server");" but I get an error that the
function doesn't exist. I'm sure it's something simple, but what's the php
function that will let me connect to the SQL Server?