Remember to change all pages, otherwise INCULDE specifically to include the utf8 sentence. Of course, if the modification is not completed, Chinese will not be displayed, only GBK text will be displayed.
//Declare variable $shouji $shouji = 'Sell a kidney for an iPhone'; //Put $shouji in double quotes and then echo what is the effect? ? $str = "Will $shouji be displayed?"; //Enter $str to try echo $str; ?>
Remember to change all pages, otherwise INCULDE specifically to include the utf8 sentence. Of course, if the modification is not completed, Chinese will not be displayed, only GBK text will be displayed.
header('content-type:text/html;charset=utf-8');
//Declare variable $shouji
$shouji = 'Sell a kidney for an iPhone';
//Put $shouji in double quotes and then echo what is the effect? ?
$str = "Will $shouji be displayed?";
//Enter $str to try
echo $str;
?>