$i = 0;
while($i = 1){
$new_price_perm = $_POST['active_price'];
if (isset($_POST['zero_option'])) {
$new_price_perm += $_POST['zero_price'];
}
if (isset($_POST['first_option'])) {
$new_price_perm += $_POST['first_price'];
}
if (isset($_POST['second_option'])) {
$new_price_perm += $_POST['second_price'];
}
$cart_item_data['new_price'] = $new_price_perm;
break;
}
return $cart_item_data;
$result_channel = mysql_query("SELECT * FROM <таблица>", $link) or die ("ERROR: ".mysql_error());
while($row = mysql_fetch_array($result_channel)){
echo 'Пользователь смотрел канал: '.$row['title']."<br>";
if($row['epg_filename'] == ''){
$row['epg_filename'] = $row['id_channel'] + 1000000;
}
$array = ["channel.", ".txt", "id="];
$replace_epg = str_replace($array, "", $row['epg_filename']);
$data_epg = $replace_epg;
$id = 0;
$result_ttv = mysql_query("SELECT * FROM <таблица>", $link) or die ("ERROR: ".mysql_error());
while($row2 = mysql_fetch_array($result_ttv)){
$replace_details = str_replace($array, "", $row2['details']);
$data_details = $replace_details;
if($data_epg == $data_details){
$id++;
} else {}
}
echo $id."<br><br>";
}
.blabla{
display: flex;
justify-content: space-between
}
.item p{
margin-top: 40px;
margin-right: 60px;
}
.item .img-and-fon .fon-for-icon p{
margin-top: 40px;
margin-right: 60px;
}
.item .img-and-fon .fon-for-icon p{
margin-top: 40px;
margin-right: 60px;
}
li .img-and-fon .fon-for-icon p{
margin-top: 40px;
margin-right: 60px;
}
li.item .img-and-fon .fon-for-icon p{
margin-top: 40px;
margin-right: 60px;
}
.list-items .item .fon-for-icon p{
margin-top: 40px;
margin-right: 60px;
}
p{
font-size: 15px !important
}
@media(max-width: 2400px) p{
font-size: 15px !important
}
.div{
display: flex;
justify-content: center;
}
.div{
position: absolute;
left: 50%;
}
.div{
margin: 0 auto
}