PhpWord doesn't replace text

前端 未结 7 1779
闹比i
闹比i 2021-02-14 09:34

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:02

    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

提交回复
热议问题