Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: odbc_connect()


thall89553

Recommended Posts

Some time back i set up an oscommerce website for a client. At the time it was on a dedicated server. In addition to the oscommerce I added a link exchange using an access database.

 

Since then I moved the site over to a shared hosting server. All is fine except on the page where the links from the access db should appear. I get this error.

 

Fatal error: Call to undefined function: odbc_connect() in /home/content/v/i/t/vitaminstore/html/health-link-exchange-list.php on line 27

 

 

Here is my code:

 

$conn=odbc_connect('links','','');

$sql="SELECT Distinct Category From Links Where Status = True Order by Category";

$rs=odbc_exec($conn,$sql);

 

It would seem obvious to me that I need to find the odbc_connect() function that I am calling but I forgot where that is located. Can someone help me out. Thanks. Tom

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...