Banks List

    <?
    global $wpdb;
    $savingsrates=$wpdb->get_results("SELECT * FROM banks ORDER BY name DESC");
    foreach ($savingsrates as $savingsrates)
    {
    echo ‘<li><a href="http://www.bromoney.com/banks/’. $savingsrates->shortname .’/">’. $savingsrates->name .'</a></li>’;
    }
    ?>

  1. No comments yet.
  1. No trackbacks yet.