Hi,
I am referring to this page Coding Games and Programming Challenges to Code Better
at this point precisely:
“Exercise 3: Variables
Complete the program so as to display the following text to the user: You are FIRST NAME, you are AGE years old and you are JOB., replacing FIRST NAME, AGE and JOB with the values contained in the corresponding variables.”
This is what I wrote:
<?php
$prenom = lireLigne("Catherine");
$age = lireLigne("32");
$metier = lireLigne("développeuse");
echo 'Tu es ', $prenom , ' tu as ', $age ,' ans et tu es ', $metier;
How do I include , and . in the echo
statement like below?
You are FIRST NAME, you are AGE years old and you are JOB.