WordPress.org

Ready to get started?Download WordPress

Forums

Listing Results with WordPress? (2 posts)

  1. Bigs
    Member
    Posted 6 years ago #

    Hey, usually when I get a result set I use the following.

    $sql = "SELECT * FROM table WHERE blah";
    $result = mysql_query($sql);
    while ($row = mysql_fetch_assoc($result)) {
    title[] = $row['title'];
    }

    Is there a better way to do this with existing wordpress functions?

  2. MichaelH
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.