$MySqlHostname = "cc2692-001.privatesql:35678";
$MySqlUsername = "burkina";
$MySqlPassword = "Ouaga2010";
$MySqlDatabase = "burkina";
$dblink=MYSQL_CONNECT($MySqlHostname, $MySqlUsername, $MySqlPassword);
@mysql_select_db("$MySqlDatabase");
$sqlpro = mysql_query ( "SELECT * FROM asso where id = '$idasso'" );
if ( mysql_num_rows($sqlpro) > 0) $pro = mysql_fetch_array( $sqlpro );
if ($pro['activite'] == 1 ) { $bgcolor="#99CC33"; $bgligne="#5a7e12"; $pactivite = 1; }
elseif ($pro['activite'] == 2 ) { $bgcolor="#FF9933"; $bgligne="#9c4e01"; $pactivite = 2; }
elseif ($pro['activite'] == 3 ) { $bgcolor="#FF6699"; $bgligne="#c20645"; $pactivite = 3; }
elseif ($pro['activite'] == 4 ) { $bgcolor="#66CCCC"; $bgligne="#046161"; $pactivite = 4; }
?>
Associations du Burkina Faso ::: echo htmlspecialchars($pro['nom'], ENT_QUOTES); if ($pro['sigle']!="") echo " (".$pro['sigle'].")";?>
>