Sign in to follow this  
Brian Maring

License not working

Recommended Posts

Hi,

 

I have the full developer package and have made maps work before without the Evaluation tag appearing in the top left hand corner. However, it does appear for this map.

 

 

 

Is there some sort of problem?

 

Thanks,

 

Brian

 

 

 

<? include("FusionMaps.php"); ?>

 

 

 

 

 

 

<?

 

 

 

 

 

$strXML = "";

 

 

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

$strXML .= "";

 

 

 

$strXML .= "";

 

 

 

 

 

 

 

$username="*******";

 

$password="*******";

 

$database="*******";

 

 

 

mysql_connect(localhost,$username,$password);

 

@mysql_select_db($database) or die( "Unable to select database");

 

 

 

$query="SELECT DISTINCT state FROM `entries` WHERE year = 2009 AND time != '' ORDER BY state";

 

$result=mysql_query($query);

 

$num = mysql_num_rows($result);

 

 

 

$i=0;

 

 

 

while ($i < $num) {

 

 

 

$state=mysql_result($result,$i,"state");

 

$query2="SELECT * FROM `entries` WHERE year = 2009 AND time != '' AND state='" . $state. "'";

 

$result2=mysql_query($query2);

 

$num2 = mysql_num_rows($result2);

 

 

 

$strXML .= "";

 

 

 

 

 

$i++;

 

}

 

 

 

$strXML.="";

 

$strXML.="";

 

 

 

echo renderMap("FCMap_USA.swf","","$strXML","firstMap", 650, 450,0,0);

 

 

 

echo $strXML;

 

 

 

?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this