Linking between products page, and product details page
I created with data assist the admin pages, everything are ok , and work like it should.
Back to the main site im facing the problem below.
I have created a catalog with repeat region to dispay the contents of my database,inserted the dynamic text,product image , it works fine.
The problem is that i can not link all these listings with the detail page.
Lets say that the listings are located in the page products.php.
Also there is a page named product_details.php.
When i try to link the product name in products.php , with the product_details.php , the product_details.php shows me only the first record.
The link of the product listings in products.php is : product_details.php?product_id=<?php echo $row_rs_products['product_id']; ?>
Its seems that the product_details.php page doesnt know which record to display and returns the 1st one in the database.
When i mouse over the links i see product_id=1 , product_id=2 , and so on , but it doesnt return back the actual ids.
So what im doing wrong?
Thank you in advance :)