echo $search_name[0];
?>
</h4>
									<div class="count-box"><?php 
$noOfSearches = getAllSearhes();
$searches_with_commas = preg_replace('/(?<=\\d)(?=(\\d\\d\\d)+$)/', ',', $noOfSearches);
?>
                					<span><?php 
echo $searches_with_commas;
?>
</span></div>
								</div><!-- /completed-searches -->
								
								<!-- number-of-providers -->
								<div class="number-of-providers clearfix">
									<h4><?php 
echo $search_name[1];
?>
</h4>
									<div class="count-box"> <?php 
$noOfProviders = getAllProviders();
$providers_with_commas = preg_replace('/(?<=\\d)(?=(\\d\\d\\d)+$)/', ',', $noOfProviders);
?>
                <span><?php 
echo $providers_with_commas;
?>
</span></div>
								</div><!-- /number-of-providers -->
							</div>
						</div>
Exemple #2
0
<?php

include_once '../models/connect_bdd.php';
include_once "../models/functions_bdd.php";
$result = getAllProviders();
$thPro = getProviderThematique();
$them = getAllThematique();
$echelle = getAllEchelle();
$sp = getAllSystemeProjection();
include_once "../views/search.php";