Variable of variable in php examples
If we assign a variable name as the value of another variable comes under this concept.
<?php
$a= 'phponlinetutorial';
$b= "a";
Echo $$b;
?>
If we assign a variable name as the value of another variable comes under this concept.
<?php
$a= 'phponlinetutorial';
$b= "a";
Echo $$b;
?>