Experienced Elementalist
- Joined
- Oct 18, 2008
- Messages
- 206
- Reaction score
- 19
$connect = mssql_pconnect('127.0.0.1:','Anton','1993');
hi guys please advise i am getting errors trying to connect to a database using SQL2012 and xampp 1.7.3
what am i missing here :huh::huh:PHP:$connect = mssql_pconnect('127.0.0.1:','Anton','1993');
$connect = mssql_connect('127.0.0.1:','Anton','1993');
not sure if webserver and php still have this functions i think its depreciatedMake sure in your php.ini (in XAMPP config for Apache) you uncomment the line:
extension=php_mssql.dll
Yes if the tcip is not enabled on the sql configuration and if the connection as well is localon some servers sometime when i can't connect with the ip i connect with name of the sql server INSTANCE for example sqlexpress/pcname NOT the ip address ...