Loading get varibles from the current URL in your flash movie

I cant get this to work, im a php programmer. If someone can help me do this and maybe explain what i have done wrong, it would be great.

Here is what i have, its attached. If you have AIM or AOL, you can instant message me, axilant is my screenname.

Thanks,
Cody Selzer

:slight_smile: Hi, i downloaded your flash file to check it, but i need the php file to make sure what goes wrong…

Martijn Himpers

heres the php file


$pagetitle = "Explore";
include("$cfg[sitepath]/html/header.php");
include("$cfg[sitepath]/classes/md5.cls.php");
include("$cfg[sitepath]/classes/user.cls.php");

$result=$db->query("SELECT *,count(*) FROM boutiques WHERE open ='1' GROUP BY boutique_id") or die (mysql_error());


$num = $db->num_rows($result);
if($num > 0)
{
print("<table align=\"center\"><tr>");
}
while ($row=$db->fetch_array($result)) {
$count = $count +1;

print("<td valign=\"top\" align=\"center\">


	<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"
 WIDTH=\"100\" HEIGHT=\"100\" id=\"boutiques\" ALIGN=\"\">

	<PARAM NAME=movie VALUE=\"$cfg[siteurl]/img/boutiques.swf?name=$row[name]&Furl=$cfg[siteurl]/&Fzone=boutique&FboutiqueID=$row[boutique_id]\"> <PARAM NAME=quality VALUE=high> 	<PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=\"$cfg[siteurl]/img/boutiques.swf?name=$row[name]&Furl=$cfg[siteurl]/&Fzone=boutique&FboutiqueID=$row[boutique_id]\" quality=high bgcolor=#FFFFFF  WIDTH=\"100\" HEIGHT=\"100\" NAME=\"boutiques\" ALIGN=\"\"
 TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">
	</EMBED>
	</OBJECT>
	</td>

");

if($count >= "4") {
print("</tr><tr>");
$count = 0;
}
}
if($num > 0)
{
print("</tr></table>");
}

include("$cfg[sitepath]/html/footer.php");

I dont think its the php end…

Who ever fixes my problem i will pay you via paypal $5. This is something i need urgent.