How to number HTML table rows using PHP?

TransPersonal

New member
I know that the php code to number things is (atleast for wordpress):

<?php $my_post_count++; echo $my_post_count . '.'; ?>

I want all table rows on a .php page to be numbered. How can I use the above code in conjunction with a html table to have all rows numbered?
 
Back
Top