The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How To Display Stored Image Using Path? Reply To: How To Display Stored Image Using Path?


Store the session of the auto incrementing PK id from the form table into the id of the image table?

I think you are confusing the “session” with the database. The two are unrelated.

But yes, one table (probably the form table) would have an auto-incrementing PK, which the other table would use.

Add a class to the image. But within the php code that displays the images that doesn’t work.

I don’t see why it wouldn’t…? Does @chrisburton’s suggestion solve your problem?