I have a select in my php file, but the select result is have more rows, and i want to write out all rows with a for cycle.
I want to convert it after a qr code but i need only the writing out in the for cycle
//select command
$sql = "SELECT * FROM qr  
INNER JOIN eladott
ON qr.qr_eladott_id=eladott.eladott_id
WHERE qr.qr_eladott_id=$eladott_id";
    $result = mysqli_query($conn, $sql);
    
    if(mysqli_num_rows($result) > 0)
        
        $qr = mysqli_fetch_assoc($result);
 for ($i = 0; $i < $eladott_jegyek_db; $i++)
    {
        
        $pdf->Image($qr['qr_code']);
        
        
    }
    
 
    