Hi frnds...
i need to select only fixed no.of records from my db table...
table having 100 records...
i need to select recent 10 records based on id ....
plz tell me whats the logic in this....
Try something along the lines of the following:
mysql_query("SELECT * FROM `table` LIMIT 0, 10")
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.