For example
<?php $tf = "true"; echo '<dt class="qp-ui" data-qp-ui="{ \'SideNavZippy\': 变量输出位置 }"></dt>'; ?>
How to correctly output variables in echo html? Thanks
Following the voice in heart.
echo '<dt class="qp-ui" data-qp-ui="{ \'SideNavZippy\': ' . $tf . ' }"></dt>';
Following the voice in heart.