Hi All, I am looking for advice on approach more so than code. I want to make a page that has a list of products down one side that are clickable. Clicking on a product will populate a couple of detail areas (tables?) beside the list of products. I am trying to address this with an object oriented approach and would gratefully accept any and all advice on how to script this in an efficient manner. I am using Smarty for page display. Any and all comments would be greatly appreciated.

Thank you for your response json101. I had a look at the AJAX link and I thank you for the information. This does seem to be a viable option.

Member Avatar for rajarajan2017

i) Store the list of products in a table
ii) use the div elements to display your product images with relevant clicks
iii) load the details from the database and display it in a table.

Use PHP/MYSQL

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.