0
function greet($name) { return "Welcome ". $ ; } greet('Robert');
function greet($name) { return "Welcome ". $ ; } greet('Robert');
7 Réponses
+ 6
Hint: You probably want to print the string "Welcome Robert", with "Robert" being stored in the variable $name...
+ 1
Maybe something like this?
https://code.sololearn.com/w3SG5NW1L3mw/?ref=app
+ 1
function greet($name) {
return "Welcome ". $ (name;
}
echo greet('Robert');
+ 1
To concatenate the name Robert with welcome use $name. Then to print use echo.
function greet($name) {
return "Welcome ".$name
;
}
echo greet('Robert');
0
what is the answer
plisse
0
echo is the answer
0
function greet($name) {
return "Welcome ".
$ name
;
}
echo
greet('Robert');