Use sql and php to echo an article
<p>Is there a way I could use php to echo the following HTML and replace the H2 text and P text with the results stored in sqlquery?</p>

<pre><code>&lt;article class="frEvent" onclick="loadPopup('#frpopup1')"&gt; &lt;!-- Documented within the linked script file. --&gt;
    &lt;h2 class="frEventHeadline"&gt;FR Event&lt;/h2&gt;
    &lt;hr class="frEventDivider"&gt;
    &lt;p class="frEventTagLine"&gt;25/12/2012&lt;/p&gt;
&lt;/article&gt;

$sqlget = "SELECT * FROM frEvents WHERE date &gt;= DATE(now());";
$sqldata = mysqli_query($dbcon, $sqlget) or die('error getting service listings');
</code></pre>
