Display mysql table data in a wp page
-
Hello, i am new to WordPress. My aim is to develop a standard website using wordpress(not a blog obviously). I use wordpress 3.3,mysql 5.5 and php 5.3. I need to display data from a table in mysql database on my wp page.I have created a table in the same database that wordpress was installed.(DBname-test,table_name-it_testtable: 2 columns).
I had gone through the codex section and forums.I saw information on wpdb class and using the same with php.But i couldn’t quite figure out as to where i should write the php code to retrieve the data and display it in a page.
Kindly help me with detailed info on how to retrieve data from the database table and display it on a page, say Table-data. If using php code, please specify the filename to insert the same.I am new to php as well, so please bear with me.Thanks a ton in advance.
- The topic ‘Display mysql table data in a wp page’ is closed to new replies.