Hi all

I'm wanting to load a variable from a php file and I've found heaps of code on this but I can't seem to work it out to do what I need.

I think it's the "LoadVars();" actionscript I need to understand.

hear is the variable in the php file:

PHP Code:
<?php 
$head 
$_GET['head']; 
?>
The head is set from an html link.

and it's hear where I need to get the $head variable into flash and then do the following:

if $head = 1 then gotoAndStop("lable_1");
if $head = 2 then gotoAndStop("lable_2");
if $head = 3 then gotoAndStop("lable_3");

And so on and so on......

Any ideas

Cheers
Chris