Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
I have a problem with addLink() method.
When I try [code]$docx->addLink(array('url' => 'http://mylink.com'));[/code] all works fine.
But when I make something like this :
[code]$docx->addLink(array('url' => $myUrl));[/code]
Boom! Document is corrupted.
Thanks for your help.
Which value has $myUrl var?.