<html> <head> <title>ThaiCreate.Com PHP & Access Tutorial</title> </head> <body> <? $objConnect = odbc_connect("mydatabase","",""); if($objConnect) { echo "Database Connected."; } else { echo "Database Connect Failed."; } odbc_close($objConnect); ?> </body> </html>