Ok so I thought I had seen this posted previously, but I can't seem to find it. My DB Structure is as follows:
content:
id, title, body, tstamp, is_product, image1, image2
Now basically what this is, is a table for all content on the site. But if the content is for a product, there are 2 images that also get put into the page. It's easy enough to link everything, but what if I don't want image1 and image2 fields showing up on the add/edit page unless the is_product drop down is selected to equal Y?
Make sense?