Support » Plugins and Hacks » Listing Results with WordPress?

  • 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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Listing Results with WordPress?’ is closed to new replies.