Dear all,
I am new to PHP and Mysql, and have created a table in Mysql to store product details and have written a form to upload product details (Title, image url, description, download link, and product rights) through admin section in PHP,
The problem is if i have entered 50 items and when i call db from members area all items are displayed on the same page, How can i restrict no of items to be displayed as 10, and automatically display url for 5 pages at bottom of page, i.e when i upload more products (say now the total is 70) no of pages will also increment automatically. (in this case will be 7 and say when user clicks on say 5 the product will be displayed from 41 to 50)
Please Guide.
Thanxs in advance,
Best Regards,
Ritesh Jain
I am new to PHP and Mysql, and have created a table in Mysql to store product details and have written a form to upload product details (Title, image url, description, download link, and product rights) through admin section in PHP,
The problem is if i have entered 50 items and when i call db from members area all items are displayed on the same page, How can i restrict no of items to be displayed as 10, and automatically display url for 5 pages at bottom of page, i.e when i upload more products (say now the total is 70) no of pages will also increment automatically. (in this case will be 7 and say when user clicks on say 5 the product will be displayed from 41 to 50)
Please Guide.
Thanxs in advance,
Best Regards,
Ritesh Jain
Comment