What is difference between $x and $$x
Answer Posted / psharma05
$x is a simple variable where $$x means value of $x becomes other variable.
eg.
$x="hello";
$$x="hi";
echo $hello;
output will be:
hi
| Is This Answer Correct ? | 11 Yes | 5 No |
Post New Answer View All Answers
How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What are the rules in creating php variable?
What types of Data Can Be Used as Array Keys?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
What is the latest version of php?
How do you use end in python?
What is php and why we use it?
What are the advantages of triggers in php?
What exactly is validating and sanitizing?
How many data types are used by php?
How the web server interprets php and interacts with the client?
What does $_ post mean in php?
How cookies are transported from servers to browsers?
How we can get the number of elements in an array?
What is the use of ajax in php?