How to repeat <h> tag using php
  I have a html syntax code as shown below 
               
                            <h3>Main Category</h3>
                            <h3>cat2</h3>
                            <h3>cat3</h3>
                            <h3>cat4</h3>

 I need to repeat the list tag using php...

 I have stored the query result in $cat, how can i repeat the header tag according to this

 
How to repeat <h> tag using php
===

  I have a html syntax code as shown below 
               
                            <h3>Main Category</h3>
                            <h3>cat2</h3>
                            <h3>cat3</h3>
                            <h3>cat4</h3>

 I need to repeat the list tag using php...

 I have stored the query result in $cat, how can i repeat the header tag according to this

 