dongmeng9048 2015-09-14 05:09
浏览 67
已采纳

phpword使用变量和文本导出文本

this is the statement that im trying to combine.

$section->addText("Order No", 'rStyle', 'pStyle');
$section->addText("$x", 'rStyle', 'pStyle');

can it be something like

$section->addText("Order No.'$x'.", 'rStyle', 'pStyle');
</div>
  • 写回答

1条回答 默认 最新

  • ds20021205 2015-09-14 05:24
    关注

    Please check PHP String Operators

    $section->addText("Order No.".$x, 'rStyle', 'pStyle');
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?