0

function greet($name) { return "Welcome ". $ ; } greet('Robert');

function greet($name) { return "Welcome ". $ ; } greet('Robert');

4th Feb 2019, 7:54 AM
Hermanto
Hermanto - avatar
7 Antworten
+ 6
Hint: You probably want to print the string "Welcome Robert", with "Robert" being stored in the variable $name...
4th Feb 2019, 7:56 AM
Anna
Anna - avatar
4th Feb 2019, 9:01 AM
Walter Perdan
Walter Perdan - avatar
+ 1
function greet($name) { return "Welcome ". $ (name; } echo greet('Robert');
26th Aug 2021, 10:50 PM
Sylvester Painai
+ 1
To concatenate the name Robert with welcome use $name. Then to print use echo. function greet($name) { return "Welcome ".$name ; } echo greet('Robert');
11th Dec 2021, 9:13 AM
Afrah Nazeem
0
what is the answer plisse
4th Feb 2019, 7:54 AM
Hermanto
Hermanto - avatar
0
echo is the answer
7th Dec 2020, 3:51 AM
Stiffler Bernard Awuah
Stiffler Bernard Awuah - avatar
0
function greet($name) { return "Welcome ". $ name ; } echo greet('Robert');
13th Mar 2021, 4:44 PM
Yandri Zaita, ST
Yandri Zaita, ST - avatar