test init A SUPP

“.time().”) ORDER BY ProduitMembres.Id_Mb”;
//echo $myQuery;

$myrows = $wpdb->get_results($myQuery );
$myPermissions = array();

foreach ($myrows as $myrow)
{
array_push($myPermissions,$myrow->Id_Mb.”;”.$myrow->Type_C);
}

$rand_keys = array_rand($myPermissions);
echo $myPermissions[$rand_keys];

//$listeID = array();
// lecture TEMPORAIRE du l’array
//foreach ($myPermissions as $permission) {
//echo “
* “.$permission;
//array_push($listeID, “0”);
//}

// affiche au hasard 100
//for ($i=0; $i < 100; $i++ ) //{ //$rand_keys = array_rand($myPermissions); //echo $rand_keys.' '; //echo $myPermissions[$rand_keys] . "\n\r"; //$listeID[$rand_keys] = $listeID[$rand_keys] + 1; //} //$i = 0; //foreach ($listeID as $ID) { //echo $i.": ".$ID."\r\n"; //$i++; //} ?>