ODBC Connecting to SQL Database in PHP Error
I have a php file with the proper information, and I cannot figure out why I cannot make an ODBC connection to my SQL Database? I have two files and am trying to create a simple webpage that is connected to my database. First File (odbc_vertices.php): <?php //creates an odbc connection and stores it in $odbc variable $odbc = odbc_connect ('VERTICES', 'correctusername','correctpassword') or die ( "Could Not Connect to ODBC Database!" ); ?> Second File (phptest.php): <html> <head> <title></title> </head> <body> <?php include 'odbc_vertices.php'; ?> <select name='vndr'> <option selected> <?php $q
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.