Php System attachment storage and display problems !!!!!!!!! 1. I recently developed a news and publishing system. In the background, I uploaded two images to the specified directory on the server by using cyclic upload, but the problem occurred: during the first cyclic upload, the attachment name is stored in the filename field of the database. during the second loop, the name of the second attachment cannot be stored in the filename field, what should we do ????????????? Only one name can be saved for one field. & nbsp; & nbs php System attachment storage and display problems !!!!!!!!! 1
I recently developed a news and publishing system. I used circular upload in the background to upload two images to the specified directory on the server. However, the problem occurs: the first circular Upload.
The attachment name is stored in the filename field of the database. during the second cycle, the name of the second attachment cannot be stored in the filename field. how can this problem be solved?
What about ????????????? Only one name can be saved for a field.
Then, how do I display two attachments when the name of an attachment is displayed on the news page? Currently, only one attachment name can be displayed for download.
------ Solution --------------------
You can use commas to connect and insert them together.
------ Solution --------------------
This is the fastest. Otherwise, you can use multiple fields to store multiple names. What do you think is better?
------ Solution --------------------
A jian Image table.