WordPress.org

Ready to get started?Download WordPress

Forums

Database results for loops (2 posts)

  1. merlin371
    Member
    Posted 3 years ago #

    Sorry if this was asked before but I havent found a search option and google hasnt really been helpful.

    My problem is I made a page that pulls information off a database and places it on a table, by means of looping trough rows and going for the next and the next and so on.

    Now when I try and use the wordpress query tools it just doesnt seem to be the working, I'm just wondering if there's a way pretty much to run a query like "SELECT * FROM table", and then each column will be placed onto a different array somehow.

    Thanks

  2. stvwlf
    Member
    Posted 3 years ago #

    Start here:
    http://codex.wordpress.org/Class_Reference/wpdb#SELECT_Generic_Results

    You have to set the output format up yourself

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.