Код: Выделить всё
$a = "apple";
$var = "I like the $a";
echo $var;
echo "
";
$a = "pear";
echo $var;
OUTPUT:
I like the apple
I like the apple
OUTPUT I NEED:
I like the apple
I like the pear
Подробнее здесь: https://stackoverflow.com/questions/196 ... -reference
Мобильная версия