Forum


Replies: 4   Views: 1228
How to delete row to table, to get variable in document
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 dev-info  · 07-07-2021 - 14:22

Thank you for your reply.
In the example (sample_9), the line is already indicated,.

$referenceNode = array(

    'customQuery' => '//w:tbl/w:tr[2]',

);$docx->removeWordContent($referenceNode);

 

How to retrieve the row number of the correct table when looking for the variable. I can't find any documentation on this subject
Thank you