title: SQL query in jreviews pages, joomla 2.5
body: <p>How can I "echo" a basic SQL query in Jreviews pages?  I'm using Joomla 2.5. </p>
  
  <p>The query:</p>
  
  <pre><code>SELECT COUNT(product) AS totalcount FROM my_table WHERE productid LIKE = 'sony'
  </code></pre>
  
  <p>Jreviews is based on PHP (like Joomla).</p>
  
  <p>Expected result, example:</p>
  
  <pre><code>Sony product: 105
  </code></pre>