Jump to content
KateMacwil

Displaying Table Results on a page

Recommended Posts

HI

In WordPress, I have created a simple plugin that allows the logged in user to:
- Add a Tender
- Update a Tender
- Delete a Tender

Now I need to be able to display a list of all the tenders to our visitors  (in table format).

I am new to this and am not sure how to accomplish this task.

Could someone please point me in the right direction?

Much appreciated.

 


 

Share this post


Link to post
Share on other sites

In general, you send a select SQL query to get the data you want, and you loop through the results to display each result however you'd like.  WordPress should already have a database object you can use to interact with the database.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×