-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Milestone
Description
I believe this is a simple variable misnaming. In class oleread you you have $this->docSummaryInfos, but in MSDOC it is $ole->documentSummaryInformation. Is there a forum to ask for help?
I didn't want to open another issue for this b/c it is more of a forum thing, so sorry if I offend.
I would really appreciate if someone could help me solve this basic php to html to go into phpword. I keep getting a corrupt docx.
It is simply a four row/col layout that varies depending on car types in my query. Please help or share.
<?php
$counter = 0;
$carCt = count($cars);
$arrCars = array_values($cars);
echo '<table width="100%" cellpadding="1" cellspacing="5">' . PHP_EOL;
echo '<tr><th>Cars</th></tr>';
for($i = 0; $i < $carCt; ++$i){
$counter ++;
echo $i % 4 == 0 ? "<tr>\n" : "";
echo '<td width="25%" align="center" valign="middle">'.$arrCars[$i]['CarName'] . '</td>' . PHP_EOL;
echo $i % 4 == 3 ? "</tr>\n" : "";
}
echo '</table>';
?>
My biggest question is...is there an endRow? How do I traverse this?
Metadata
Metadata
Assignees
Labels
No labels