search

Home  >  Q&A  >  body text

When phpword uses a template to generate a word file, how can the template content be line-wrapped? Thank you.

When using phpword to generate a word file, the content in the Html page has line breaks. After being saved in the database, these line breaks will be stored as \r\n. When generating word, if these line breaks are changed into Line breaks in word, that is: how to break lines in the page, how to break lines in word.

Please give me guidance, thank you very much!

映辉科技映辉科技1229 days ago1123

reply all(1)I'll reply

  • 映辉科技

    映辉科技2021-07-12 11:50:36

    solved!

    reply
    0
  • Cancelreply