Retrieve values from database
<p>I have php code like</p>

<pre><code>$sql = $mysql_query('SELECT * FROM forgo');
foreach($sql as $cc)
{
   $list = $cc -&gt;name;
   echo $list;
}
</code></pre>

<p>Now I got the output </p>

<pre><code>Chapter1
Chapter2
Chapter3
Chapter4
Chapter5
</code></pre>

<p>Upto here this is fine. Now I want to display Headings (static) in my php code and need the output like </p>

<pre><code>Basic Concept
Chapter1
Chapter2
Advanced Level
Chapter3
Chapter4
Final Level
Chapter5
</code></pre>
