PHP Dynamic Variables
This is otherwise known as “Variable variables”. Let’s begin. Basically in PHP, we assign value to a variable like this: $var = “word”; If we want a variable whose name is the value of the $var variable, we do so like this: $$var = “press”; // $word = “press” PHP parses $$var by first de-referencing … Read more