我需要獲得此輸出。如何使用php函數在報價中打印字符變量
the result is"random"safdsaf
我使用這段代碼
<?php
$x = "random";
echo 'the result is' .$x. 'safdsaf';
?>
但我得到這個
the result israndomsafdsaf
我在打印之前定義隨機的。
即我不想改變這段代碼
<?php
$x = "random";
我應該做哪些改變內部回聲以獲得所需的輸出?
你想看到它後打印報價? – 2014-10-10 07:00:33