0
Help me here. Show me my errors.
4 Réponses
+ 10
<?php
define("MSG", "'Hi SoloLearners!'", true);
echo MSG;
$name = "peter";
$age = 234;
echo $age;
?>
+ 7
Don't put space after dollar signs!
+ 2
Error 1 :
$ name = "peter";
$ age = 234;
check the above declaration . Do not let space between $ and name
Error 2 :
echo "age";
If you don;t want to print string age and you want the value of variable age
replace it with
echo $age;
+ 1
Valen.H. ~ Prokopios Poulimenos Thank You.