Update productDetails.php

Frequency and id are retrieved from database.