<?php
//PHP Limit Data From MySQL
//SQL query to select all records from 1 – 30 (inclusive) from a ‘Project_name’ table
$sql = "SELECT * FROM Project_name LIMIT 30";
//To select >start on record records 30 – 40 (inclusive) AND return only 10 records:
$sql = "SELECT * FROM Project_name LIMIT 10 OFFSET 29";
?>