How To connet mssql to php please please please help meeee.
I'll wait for you guys to answer
Faiz97 0 Newbie Poster
Recommended Answers
Jump to PostI think php_mssql.dll file is missing. Are you using XAMPP server? or Some other
Jump to PostTry the below and let me know
<?php $objConnect = mssql_connect("localhost","sa",""); //$objConnect = mssql_connect($host,$user,$pass); //$host = server,ip,computer-name //$user = user //$pass = password if($objConnect) { echo "Database Connected."; } else { echo "Database Connect Failed."; } mssql_close($objConnect); ?>
All 8 Replies
Faiz97 0 Newbie Poster
rpv_sen 59 Junior Poster
Faiz97 0 Newbie Poster
rpv_sen 59 Junior Poster
diafol commented: Be nice to get feedback +15
Faiz97 0 Newbie Poster
Faiz97 0 Newbie Poster
rpv_sen 59 Junior Poster
Faiz97 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.