Quantcast
Channel: PHPWord
Viewing all articles
Browse latest Browse all 450

New Post: Problem with the character "&"

$
0
0
Hello everybody,

I have a problem with this character "&".

If I use the function $section->addTitle(str $mystring), wherein $mystring contains the character "&", then when I open the generated document, Word says "The Office Open XML file cannot be opened because there are problems with the contents."

Thank you in advance for your help.

Damien

Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>