Use php echo to output html, how to output variables correctly
typecho
typecho 2017-07-07 10:35:00
0
1
1622

For example

<?php
$tf = "true";
echo '<dt class="qp-ui" data-qp-ui="{ \'SideNavZippy\': 变量输出位置 }"></dt>';
?>

How to correctly output variables in echo html? Thanks

typecho
typecho

Following the voice in heart.

reply all(1)
滿天的星座
echo '<dt class="qp-ui" data-qp-ui="{ \'SideNavZippy\': ' . $tf . ' }"></dt>';
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!