0
What is the difference please?
Hello,I need your help: I didn't understand this part of the code extract of an exercice of the site "Codeschool". Can you enlighten me please? ------ <?php $city='Tokyo'; $established='1868'; $country='Japan'; ?> (What is the difference between this two code? Why there are point after variable "established" and not after "city"?) <p><?php echo $city. 'has a very high population' ; ?> </p> <p><?php echo $city the capital of country and was established in $established. ; ?></p> Thank 's in advanceđ
2 Answers
+ 6
the dot ( .) concatenation operator is used to join to strings.
+ 1
Thank you đ