I have the following code:
<?
$result = $connection -> query("SELECT * FROM testemunhos") or die($connection -> error);
while($row = $result -> fetch_array(MYSQLI_ASSOC)){
?>
<div class="item">
<div class="quote-left">
<img src="<?=$row['testemunho_icon']?>" alt=""/>
<div class="ql-content">
<p><?=$row['testemunho_texto']?></p>
<cite>-- <?=$row['testemunho_cliente']?>, <span><?=$row['testemunho_empresa']?></span></cite>
</div>
</div>
<div class="quote-sep"></div>
<div class="quote-right">
<img src="<?=$row['testemunho_icon']?>" alt=""/>
<div class="qr-content">
<p><?=$row['testemunho_texto']?></p>
<cite>-- <?=$row['testemunho_cliente']?>, <span><?=$row['testemunho_empresa']?></span></cite>
</div>
</div>
</div>
<?
}
?>
I want the% s of the% database to appear next, so that it prints the same record in both quote-right
and quote-left
Any Suggestions?