<?php foreach ($price as $id => $price): ?>
<div class="kbox">
<label for="price_<?=$id;?>">
<span class="filter_name"><?php
if ($price['price'] <= 250) {
echo 'до 250';
}
if ($price['price'] >= 250 and $price['price'] <= 500) {
echo '250-500';
}
?></span>
</label>
</div>
<?php endforeach; ?>
$dsn = "mysql:host=$host;dbname=$database";
$opt = array(
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
);
$pdo = new PDO($dsn, $user, $pass, $opt);
$query_get = ("SELECT * FROM Configuration ");
$result_get = mysql_query($query_get) or die(mysql_error());
mysql_fetch_array($result_get) это mysql_fetch_array($result)
"SELECT * FROM table1 Configuration WHERE `Date` BETWEEN '2015-13-06' and '2015-14-06' "