ViralStef Posted July 16, 2007 Share Posted July 16, 2007 Why isn't this working: ${$afk}_basis_eff Does { and } only work for the end of variables? Thx Link to comment https://forums.phpfreaks.com/topic/60174-solved-variable-variable-problem/ Share on other sites More sharing options...
rameshfaj Posted July 16, 2007 Share Posted July 16, 2007 why double $ use like this: $name="John"; Link to comment https://forums.phpfreaks.com/topic/60174-solved-variable-variable-problem/#findComment-299371 Share on other sites More sharing options...
ViralStef Posted July 16, 2007 Author Share Posted July 16, 2007 No, it has to be a variable var... Link to comment https://forums.phpfreaks.com/topic/60174-solved-variable-variable-problem/#findComment-299375 Share on other sites More sharing options...
ToonMariner Posted July 16, 2007 Share Posted July 16, 2007 ${$afk . '_basis_eff'} Link to comment https://forums.phpfreaks.com/topic/60174-solved-variable-variable-problem/#findComment-299380 Share on other sites More sharing options...
ViralStef Posted July 16, 2007 Author Share Posted July 16, 2007 Great! THX Link to comment https://forums.phpfreaks.com/topic/60174-solved-variable-variable-problem/#findComment-299386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.