Forum


Replies: 5   Views: 4256
Problem with links and embedhtml - phpdocx 4.0pro
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 ckaibel  · 27-08-2014 - 13:42

Hi, i want to add two different links into a html table. But everytime i try this, the 1st link is not correct in the word file, the html output is correct. It seems that the second link (href=) in the overwrites the first link. The Name of Link is ok, but not the link to the internet adress. It is important for me to get this work, below you can find my code. Thanks for your help. best regards Chris See code here: http://pastebin.com/2BcdXDK2 -Start- ".$FileName_Test."
"; require_once('/phpdocx/classes/CreateDocx.inc'); $doc_Test = new CreateDocx(); $test_help_file_sec = " (Test 1)(Test 2) "; $html_test_sec = " Security Tests: "; $html_test_sec .= "
What to test: ".$test_help_file_sec." Value: Checked:

"; echo $html_test_sec; $doc_Test->embedHTML($html_test_sec); $doc_Test->createDocx($FileDir.$FileName_Test); ?> -End-