PHP convert line breaks to paragraph tags?

  • Thread starter Thread starter skinnypspplayer
  • Start date Start date
S

skinnypspplayer

Guest
I have a form that submits data to a MySQL database and then I have a page that displays the submitted data. Some of the data is articles which means multiple paragraphs. Now I want text indents for each paragraph but I only know how to do those in HTML paragraph tags. Is there any PHP function or whatever that can do this for me? I already have 'nl2br', are there any others?
 
Back
Top