• Hi, I’m trying to set up a website where users could enter some known data about a real estate property and receive an estimate of the price that the site would calculate. It’s based on WordPress and hosted on godaddy.

    The problem is, I don’t know how to get the data I want out ouf the database and use them in the calculation.

    I have some background in general programming in Java and Python, so I know about loops, data types, algorithms and such, but I’m a bit lost in how all the stuff under the hood of a webpage exactly connects together. This should be a pretty trivial issue, but I don’t even know where to start solving it.

Viewing 1 replies (of 1 total)
  • Your question is so general that it is difficult to provide any specific answer. The way you retrieve the data depends on how and where it is stored in the database.

    If it is stored in the standard WP tables, you can use the functions supplied with the wpdb class to query the tables.

    If you want to create specialized tables to store the data, the Pods CMS Framework plugin provides all the tools you need.

Viewing 1 replies (of 1 total)

The topic ‘How to connect to a database from WordPress?’ is closed to new replies.