Jump to content

Accessing Db With Php And Odbc


Recommended Posts

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:


Fatal error: Call to undefined function: odbc_connect() in /home/username/public_html/odbc.php on line 18


can anyone tell me what this means? :angry:


I'm stumped.

Link to comment
Share on other sites

Welcome to the forums, stb76! :)


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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...