Answer the question
In order to leave comments, you need to log in
Why does output from the database output one result in each container?
<?php while ( $row = $result->fetch_assoc()):?>
<?php $allresults[] = $row; ?>
<div class="child_container">
<img src="<?=$row['bank_name']?>" alt="" height="150" width="150" class="bank_name">
<a href="<?= $row['link']?>" class="btn btn-primary get_credit" target="_blank" disabled="disabled">Դիմել առցանց</a>
<span class="result_child prcent">սկսած <?= $row['percent']?>%</span>
<span class="result_child price"><?= $row['price']?> ֏</span>
<h6 class="view">Մանրամասն ▼</h6>
<br/>
<div class="details">
<span class="cr_name">Վարկատեսակ:</span>
<span class="result_child vark_name"><?= $row['varks_name']?></span>
<span class="cr_dat">Ժամկետը:</span>
<span class="result_child vark_date">մինչև <?= $row['expiry_date']?> ամիս</span>
<span class="condition"> Վարկառուի նկատմամբ պահանջները</span>
<span class="cond"><i class="fa fa-check" style="font-size:20px;color:#007bff"></i> <?= $row['arajarks_payman']?></span>
<h6 class="clos">Փակել ▲</h6>
</div>
</div>
<?php endwhile; ?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question