search

Home  >  Q&A  >  body text

Why is the sentence in the middle "Therefore, we can change the code for question 1 just now to:" displayed?

<?php


$shixi = 'Study hard for four years in college<br />';


$buran = 'Otherwise there will be no chance of internship<br />';


$mimang = 'Use others’ time to be confused Get PHP Chinese website<br />';


##$xuexi = 'Learn PHP<br />';


//We can splice all the strings together.

echo $shixi . $buran . $mimang . $xuexi;


?>

So, the question just now is We can change the code to:

<?php

$php = 'PHP Chinese website';

//A space is added in the middle

$str = $php . 'aaaa';


echo $str;

?>


祈祷落幕时祈祷落幕时2166 days ago1370

reply all(2)I'll reply

  • 韦小宝

    韦小宝2019-01-17 10:03:55

    Are your codes all in the same file?

    reply
    0
  • Cancelreply