MacroOnline Browser

Keyword(s):

">
Match criteria: OR AND

Country(ies):

(no selection=all countries)
$counter4){$country_list_as=$country_list_as . ";" ;} $counter4+=1; } $country_clean=ereg_replace(" ", "", $country_list_as); $country_array=explode (";",$country_clean); $country_array=array_unique($country_array); asort($country_array); $final_country_nb=count($country_array); $third = $final_country_nb/3; $cntr_count = count(@$_SESSION["country"]); //echo("test: ".$cntr_count); $m=0; ?>
   
= $third) { echo(""); $m = 0; }?> 1) { for ($k=0;$k<$cntr_count;$k++){ if (@$_SESSION["country"][$k]==$val){echo (" checked");} } } echo(">"); echo($val."
"); $m++; } ?>

Type of Data:

> Time series > Population census

   
1){ $condition=" (("; for($i=0;$i<$arr_length-1;$i++){ $condition=$condition . "name like '%$keyarray[$i]%' $searchtype "; } $condition=$condition . "name like '%$keyarray[$value]%') OR ("; for($i=0;$i<$arr_length-1;$i++){ $condition=$condition . "content like '%$keyarray[$i]%' $searchtype "; } $condition=$condition . " content like '%$keyarray[$value]%'))"; } else $condition="(name like '%$keyword%' OR content like '%$keyword%')"; } if ($datatype){ if (@$condition) {$condition=$condition . " AND type='$datatype'";} else $condition= "type='$datatype'"; } } if (@$country){ if (@$condition){$condition=$condition . " AND ("; } else $condition="("; $arr_country_length = count($country); $counter=$arr_country_length; if ($arr_country_length==1){ $condition=$condition . "country like '%$country[0]%'"; } else { foreach ($country as $value){ $condition=$condition . "country like '%$value%'"; if ($counter>=2){$condition=$condition . " OR "; $counter=$counter - 1; } } } $condition=$condition . ")"; } if (@$condition){ $sql_search="SELECT * FROM main WHERE $condition"; } else $sql_search="SELECT * FROM main"; if ($show_all=='true'){ $sql_search="SELECT * FROM main"; } $result = mysql_query ($sql_search,$macrocon); $num_of_rows = mysql_num_rows ($result); if ($num_of_rows){ ?>

Your search returned # results. (New Search / alter search)

"> "); $cntry = explode(";",$row["country"]); sort($cntry); $cnt = count($cntry); for ($i=0;$i<$cnt;$i++) { if($i%3 == 2) { echo(""); echo(""); } else { echo(""); } } echo("

Name

Country

">
".$cntry["$i"]."
".$cntry["$i"]."
"); //echo($row["country"]); ?>


New Search / alter search