PDA

View Full Version : variable variables ???? :S


tony09uk
06-21-2012, 07:36 PM
I am currently going through a set of tutorials from lynda.com and am struggling with a video that talks about variable variables. Fortunately Lynda shows this particular video on the site.

this is the video (http://www.lynda.com/home/Player.aspx?lpk4=47346&playChapter=False)

Could someone please have a look and tell me what the hell he is on about? I have had a play and I just keep getting an error.

So far I would have set a dynamic variable like this

$myvar = $_POST['randomEntry'];

and if i needed to set that for some reason then add another variable = to $myvar

Hope this makes sense

PS ive also searched for $$ at php.net and it doesn't seem to exist