What is the differece between $message and $$message?
$message is the standard way to create a variable and then also to reference the value of that variable when we want to print it, whilst we can use $$ to actually print the name of that variable rather than its value:
<?php
$message = "hello";
echo $message;//prints hello
echo "$$message";//prints $message
?>
Comment on this Question and Answer >>>
ASK A QUESTION
More other PHP Questions
What does the @ character do in PHP?What are autoglobals?
How do I add comments to my PHP script?
What is a constant in PHP?
How do I find the timestamp for a particular date?
