+ 1
i dont understand it 😐
Variables Variables are used as "containers" in which we store information. A PHP variable starts with a dollar sign ($), which is followed by the name of the variable. https://www.sololearn.com/discuss/1061936/?ref=app
5 ответов
+ 6
Which one do you not understand:
what a variable is or how to solve the String Manipulation challenge?
Or was that the wrong link?
+ 6
When making a variable you use the syntax (code)
$myVariableName;
For example,
$money = 50.5;
The variable named 'money' now stores the value 50.5.
So, if we do:
$total = 50 + $money;
The variable 'total' becomes 100.5. Since 'money' held the value 50.5 and 50 + 50.5 is 100.5.
echo $total;
will output: 100.5.
The variables are holding onto the values that they are given. This is why we say 'they are containers that store information'.
The values were stored in the variable.
+ 2
really i dont understand all the solo learn because i win with hacker
+ 2
SoloLearn makes it too easy to "hack" the right answers to quiz questions without understanding the lesson. If you only give minimal effort to pass quizzes then you will gain only minimal understanding. A better way to use SoloLearn is to first gain full understanding of the topic, and then take the quiz to see whether you missed anything. Go as slowly as you need. You are not being timed in the lessons. If a quiz answer confuses you, then go back to the lesson to understand the answer. To learn better, experiment with the "Try it yourself" areas. Also read and ask questions in the Comments sections within the lessons.
0
variables