What is the difference between $message and $$message?
Answer Posted / darshit
$Message = "YOU";
$you= "Me";
echo $message //Output:- you
echo $$message //output :-Me
It means
$message is a variable and
$$Message is variable of variable
A variable of variable allows us to change the name of
variable dinamically
| Is This Answer Correct ? | 73 Yes | 10 No |
Post New Answer View All Answers
What are the different tables(engine) present in mysql, which one is default?
What is framework? How it works? What is advantage?
What is static method php?
How do I sort numbers in php?
What are variables in research examples?
Is php 5.6 secure?
How to access a specific character in a string?
Do while loops?
Is php procedural or oop?
What happens when submit button is clicked?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
How are cookies created?
sort term descripttion form, report and uery
What are the environmental variables?
Which software is used to run php programs?