NameSilo

Connect to a mssql database using php

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

adam_uk

Established Member
Impact
20
quite simple really

same as mysql

PHP:
 <? 
    $conn=mssql_connect("MYSQLSERVER","sa",'password'); 
        if ($conn) { 
        echo "Yeah i'm the best ;)"; 
    } 
    else { 
        echo "Woops ! ".mssql_get_last_message(); 
    } 

?>


seems a bit tempremental, on my set up i get call to undefined function so may be it wil lwork for others
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
<img src="images/smilies/wink.gif" border="0" alt="">

Can we have that image? lol
 
0
Close
lol
i didnt prog that code, cant remember wherei got it from but remember spent a while tryin to find out how to do it so posted it here
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back