{help} Pls what are d difference between these codes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

{help} Pls what are d difference between these codes?

(1) <?php> Var1=x; Var2=y x=''hello''; y="world!"; echo="x+y"; <?> (2) <?php> echo 'hello world!'; <?> (3) <?php> Var="x" x="hello world"; Echo x; <?>

28th Feb 2020, 7:47 AM
Abdulazeez Muhammed
Abdulazeez Muhammed - avatar
4 Answers
+ 4
None of the codes runs. You have a lot of syntax errors.
28th Feb 2020, 8:05 AM
Ipang
+ 1
Pls how do I correct them
28th Feb 2020, 9:10 AM
Abdulazeez Muhammed
Abdulazeez Muhammed - avatar
+ 1
The primary issue here is how you declare variables. Please review the PHP lesson. Once you do that, I'm convinced that you will be able to fix the problem easily 👍
28th Feb 2020, 1:09 PM
Ipang
+ 1
🖐️olryt bro. 🏃 I will go through the course again
28th Feb 2020, 8:32 PM
Abdulazeez Muhammed
Abdulazeez Muhammed - avatar