I made myself a very simplistic testimonials sidebox, but I'm having trouble pulling anything from the database. Whenever I try code to execute a DB query, the site simply stops loading at that point. I've tried it a few different ways, but this is basically what I'm trying:
If I put plain text in place of the DB select statement, it displays fine. Seems like this should be pretty simple; any ideas what I'm missing?Code:<?php // testimonials sidebox $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; $content .= $db->Execute("SELECT testimonials_text FROM testimonials ORDER BY RAND() LIMIT 1"); $content .= '</div>'; ?>



