0

I'm working on a simple program that displays the result of an inner join query in a paginated manner.

$get_all_query_he_for_sale = "SELECT * FROM ads INNER JOIN ads_details ON ads.ads_id = ads_details.ads_id WHERE category_id = '1'";
$get_all_query_he_for_sale_execute = mysql_query($get_all_query_he_for_sale);

<div class = "container">
<?php while($row = mysql_fetch_assoc($get_all_query_he_for_sale_execute)){ ?>
    <div class = "row">
        <div class = "col-md-6">
            <?php echo $row['company_name']; ?>
        </div>
    </div>
<?php } ?>
</div>

I need some help to construct it properly.

The output should be: result will display 10 records per page.

Beri
  • 11,470
  • 4
  • 35
  • 57
Sam Teng Wong
  • 2,379
  • 5
  • 34
  • 56

0 Answers0