This project is read-only.

new line in cell

Jan 11, 2015 at 12:44 AM
Goodnight everyone.
Anyone know why the phpword v0.12.0 not accept \ n in the table cell?
I'm trying this, but does not work:
$query
$string = "";
while ($query) {
$string .= $me[0].;
$string .= '\ r \ n';
}
$table->addCell(1398)->addText(htmlspecialchars ($string), $ fontStyle);