Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to present content from a table located in Wordpress data base to a Wordpress page. Is there any plugin that i can use.If not,what is the simplest way to code it? Thanks, Ron

share|improve this question
add comment

1 Answer

Had you looked into plugins tagged "table" in official repository?

As for coding it by hand it should not be too complex, use $wpdb to query database and loop/output results with HTML table markup.

share|improve this answer
    
Thanks Rarst, Where should i put the syntax ? i.e. i have the SQL but where should i put it in? Can i write it on the HTML editor of a regular page or somewhere else? Thanks, Ron –  ron Sep 15 '11 at 11:55
    
@ron if you only need it on single page, I'd make custom page template, PHP code won't work in editor (unless you install plugin for that, which is usually overkill). Otherwise you can place code in functions.php of your theme or create simple plugin to hold it. So really - it depends, many ways to do it. –  Rarst Sep 15 '11 at 12:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.