pokiekokie
Member
Posted 11 months ago #
Hello,
i've been using WordPress for a while now, and i can do almost everything i want. Except, now i need to put data in a database and use it. I'm building a website that is displaying the results of soccermatches. In the database the matches and the results will be stored. An SQL query is needed to display the right information on the website. Can this be achieved with WordPress or do i have to use an other cms or do i have to learn a php-framework, to build a custom dynamic website?
You can do this, as long as you understand how MySQL and PHP work.
Are you sure you need to put the data in another database, or would another table in the database you're using for WordPress be acceptable? If you can keep it in the same database as WordPress, things will be a little bit easier, because you can continue to use the $wpdb variable/class, and there won't be any confusion as to which database connection is being used at any point in time.
pokiekokie
Member
Posted 11 months ago #
Thank you for your answer! Another Table would be sufficient. I have looked up the method/class you were pointing too and it seems exactly what i need!