Forum


Replies: 2   Views: 2716
Problem with ->addlink() method
Topic closed:
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by alexandre  · 26-03-2013 - 14:27

Hi guys,
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.

Posted by admin  · 11-04-2013 - 12:13

Hello,

Which value has $myUrl var?.

Regards.