How to number things in PHP?

Posted by Tanim on Stack Overflow See other posts from Stack Overflow or by Tanim
Published on 2010-03-24T16:12:43Z Indexed on 2010/03/24 16:13 UTC
Read the original article Hit count: 208

Filed under:

I'm a front end guy (HTML/CSS) so please excuse this basic question. I just need to know what code in PHP I can use to number some text.

Text

Text

Text

into:

  1. Text

  2. Text

  3. Text

Kind of like what <ol> does in html but in PHP.

© Stack Overflow or respective owner

Related posts about php