I have category table and product table.I retrieved item name from category table.Product table has id,image,title,category,description.If I choose one item from category,I want to display image concern with it.
This is my code.

This is my code.

Well there's your problem.

Also, no idea which image you mean. You want to show a product image when you select a specific category? There will be multiple.

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.