Flash Var in .SWF url AAAARGHHHH!

kso heres my php doccument, because i want the variables loaded from a mysql database “which i will be doing LATER” but for now its just really simple.

kso habbo.php

$uid = "5" ; 
echo "
<body bgcolor='#ffffff'>
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='100' height='170' id='habbo' align='middle'>
<param name='allowScriptAccess' value='sameDomain' />
<param name='movie' value='habbo5.swf" . $uid . "' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='habbo5.swf" . $uid . "' quality='high' bgcolor='#ffffff' width='100' height='170' name='habbo' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />

and i have absoultly no idea how to do my actionscript, but this is what i want! at the end of my actionscript (entire thing below this code)

lvars.load("phptest.php?uid=//however the hell i do my variabe of uid//");

ps: //however the hell i do my variabe of uid// isn’t actually there i just put that to represent that i need to know how to put my variable in there…

anyways heres the entire actionscript… it works fine… but just incase…

var lvars:LoadVars = new LoadVars(); 
lvars.onLoad = function(success) {
    // this is equal to lvars
id.Number = _level0.uid;