phpinfo();
<html> <head> <title>ThaiCreate.Com Tutorials</title> </head> <body> <?php $objConnect = mssql_connect(".\SQLEXPRESS","",""); if($objConnect) { echo "Database Connected."; } else { echo "Database Connect Failed."; } mssql_close($objConnect); ?> </body> </html>