Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to run php files with Database in C-panel..........?

Hi... I'm trying to run my php website, but getting Error like :

"Fatal error: Call to undefined function odbc_connect() in /home/moin528/public_html/output/include/dbconnection.php on line 7"

but its working successfully in my system via local host (IIS Console v7)

Any one can help me please .... my email id :moin528@gmail.com

1 Answer

Relevance
  • 10 years ago
    Favorite Answer

    I think you must have used some command or function that doesn't exist in PHP. Or, it can be like this - you are using different versions of PHP on the local host and on the Net. Maybe you should go over to update the website PHP version. I hope it's a bought domain. Then, install, PHP (latest is 5.5).

    If this doesn't work then I suppose you are using an outdated version on Localhost. Then you should update the same on localhost.

    Else, you can always check if you're not having any mistake in the page source using Dreamweaver.

    Source(s): self
Still have questions? Get your answers by asking now.