Variables from Text
Friday April 7, 2006
If you've ever tried to create a PHP variable on the fly only to have it end up functioning as text and not code, you simply need to put it inside of {} brackets. This allows you to call a variable within a variable, and works well when working inside loops.


This is just awesomeness! Its helped me no end, even a total a newb could understand this!
Great Work, and thanks
You actually don’t even need the {}. Simply using $$primary works.