PhpWord doesn't replace text

前端 未结 7 1459
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-14 09:10

I have a docx file and I need to replace some text. This is done inside codeigniter framework; here is the code:

$this->load->library(\'word\');       
$te         


        
相关标签:
7条回答
  • 2021-02-14 10:10

    I created a circular template from the template where I filled out the fields with the required $ {Value} values. I merged and saved the result as a new template. So it accepted the valuables

    0 讨论(0)
提交回复
热议问题