You need to design a table to store images, including the path to upload the image, and the description. Each icon has two images, one style before clicking and one style after clicking. How to design fields elegantly? Please give me some advice, thank you!
This doesn’t need to be stored in the database, right? Just put the images you want to use on the server and then reference them through
css
If you really want to save a database, let me give you the table structure for storing uploaded files in a project for reference: