SPA with PHP and jQuery : Load data in a container based on primary key


I am building an ecommerce website. the issue i faced is that when i loads some products from item table in mysql. every elements have its item id title price etc.

i created a master php page item.php. this pages contains all neccessary php scripts that fetches data from mysql's different table that are related with items using item id as foreign key.

the issue is only that i need to pass item id with item.php page as GET or POST. so that the item id can be used with the master page to create a dynamic page for this item and loads contents within the container exist in homepage