aruns Posted March 2, 2008 Share Posted March 2, 2008 Hai Tell me about why to use "$$string" Thanks Arun Link to comment https://forums.phpfreaks.com/topic/94051-help-with-variables/ Share on other sites More sharing options...
techforums Posted March 2, 2008 Share Posted March 2, 2008 hi arun that is a parent variable and child variable concept. for eg: $ var1=chennai; $ var2=mumbai; now $$var2= chennai $$var1=chennai. confirmly i dont know, i will clr u soon, in nxt posts. sriram 9884556225. Link to comment https://forums.phpfreaks.com/topic/94051-help-with-variables/#findComment-481808 Share on other sites More sharing options...
thebadbad Posted March 2, 2008 Share Posted March 2, 2008 It's a variable with a variable name. <?php //if $varname = 'myvar', then $$varname == $myvar ?> Link to comment https://forums.phpfreaks.com/topic/94051-help-with-variables/#findComment-481822 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.