Jump to content

bambinou1980

Members
  • Posts

    130
  • Joined

  • Last visited

Community Answers

  1. bambinou1980's post in While loop in table problem was marked as the answer   
    Ok Worked it out:
     

       <?php   while ($row = mysqli_fetch_array($result1, MYSQLI_ASSOC)) {    $product_name     = $row["product_name"];    $product_quantity = $row["product_quantity"];    $product_price    = $row["product_price"];    $product_vat      = $row["product_vat"];    ?><tr><td><div class="text-center"><h4><?php echo $product_name; ?></h4></div></td><td><div class="text-center"><h4><?php echo $product_quantity; ?></h4></div></td><td><div class="text-center"><h4><?php echo $product_price; ?></h4></div></td><td><div class="text-center"><h4><?php echo $product_vat; ?></h4></div></td></tr><?php } ?>  
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.