Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between $message and $$message ?

Answer Posted / laxmikanta pradhan

$message is variable and $$message is variable variable i.e.
$message is a variable whereas $$message is a refrence
variable having the refrence of $message.
Ex. $message="hello";
$$message="world";
echo $hello; // prints world
echo ${$message} //prints world

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a http session?

938


What are the benefits of using queries?

1132


What is the value for this auto incremented field user_pri_id?

923


Why is overriding runtime?

985


What's the difference between __sleep and __wakeup?

1046


What is the difference between html and php?

979


What are the advantages of using php?

960


Explain about getters and setters in php?

1044


What is the use of strpos in php?

1032


Tell me what are the encryption techniques in php?

935


How to declare an array in php?

1074


What is the difference between client-side and server-side programming?

1078


Is overloading possible in php?

951


What does addslashes do in php?

1029


Explain me what is the difference between explode() and split() functions?

1065