I am a bit of a newbie to PHP, so please take it easy on me! 😛
I made a status signature a while ago. It turned out quite well and people seem to really like it. But now I'm trying to make a new one, but it requires some PHP coding that I don't know about. I need a code that will count the number of lines between 2 lines of an HTML page.
I need a code that will count the amount of lines between the <ul class="clearfix"> and </ul>.
<ul class="clearfix">
<li style="background-image: url(http://image.gif)"></li>
<li style="background-image: url(http://image.gif)"></li>
<li style="background-image: url(http://image.gif)"></li>
</ul>
It's a status signature, every line will represent 1 "badge" a person may have. I also need a code that will readjust the size of the image depending on how many badges there are.
Thanks in advance!