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 / keshab

$test = "example";
$temp = "test";

echo $temp // output is "test";
echo $$temp// output is "example";

thanks

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a stored procedure in mysql?

1136


What is the difference between for and foreach?

1150


What is the use of extract function in php?

1026


What are the advantages of stored procedures, triggers, indexes in php?

1080


What is strcmp () in php?

1025


What is a comment in php?

1128


How can you tell if a number is even or odd without using any condition or loop?

1041


Why json is used in php?

1045


Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

1048


Tell me how to execute an sql query? How to fetch its result?

1022


How to specify argument default values?

1029


What is overloading and overriding in php?

1224


When is a conditional statement ended with endif?

1035


What is the difference between unset and unlink?

1017


Why and where do we use htaccess?

1085