String Umieść w obrębie String PHP
<?php
// data-slide-to="'.$x.'" same as data-slide-to="one"
$x="one";
echo'<li data-target="#carouselExampleIndicators1" data-slide-to="'.$x.'"></li>';
?>
Poor Piranha