using the loop with a custom table

You should use wpdb to query the database and then insert them into the loop (loop.php).