Accessing Db With Php And Odbc

I've searched the forums and didn't quite find what I'm looking for. I'm using an html form that is writing to an Access database. I believe the coding is correct (I hope) but I keep getting the error:<br /><br />Fatal error: Call to undefined function: odbc_connect() in /home/username/public_html/odbc.php on line 18<br /><br />can anyone tell me what this means? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wallbash.gif" style="vertical-align:middle" emoid=":wallbash:" border="0" alt="wallbash.gif" /> <br /><br />I'm stumped.<!--content-->
Welcome to the forums stb76 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />What the error message is telling you is the function "odbc_connect()" was not defined or can't be found.<br /><br />Please open a ticket with the help desk and have them take a look.<!--content-->
Welcome to the forum, stb76. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Welcome to the forums!! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
Welcome to the forums stb76 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br />the help desk will get you fixed up.<!--content-->
Welcome to the forums, stb76! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/thumbup1.gif" style="vertical-align:middle" emoid=":thumbup1:" border="0" alt="thumbup1.gif" /> <br /><br />I believe you're getting this error because ODBC libraries that support the type of database you want your script to talk to have to be compiled into PHP. TCH servers do not have PHP compiled with any ODBC driver support, so the various odbc_* functions would be unavailable.<!--content-->
 
Back
Top