PHP System Accessories storage and display related issues! 1
Source: Internet
Author: User
PHP System Accessories Storage and display issues!!!!!!!!! 1
Recently made a press release system, backstage I use the loop upload implemented two images uploaded to the server specified directory, but the problem arises: the first loop upload
When the attachment name is stored in the Database filename field, the second loop when the name of the second attachment can no longer be stored in the FileName field, how do you deal with this?
?????????????? Only one name can be stored in a field.
And then when the news page shows the attachment name, how to display two attachments, I can only display an attachment name for download in the current situation.
------Solution--------------------
Can be joined by commas and inserted together
------Solution--------------------
This is the quickest. Otherwise you can use multiple fields to store multiple names. What kind of good do you think?
------Solution--------------------
Jian a picture table.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.