I have a problem with submitting php forms. I have a data table with n fields. I created a form in php, the types in the form include text and file. if the content is submitted to the database at the same time? The submitted value is displayed on the page. how does the file type display the hyperlink address of the uploaded file on the page? you can click this address to view the uploaded file. Thank you! Php form submission problems
Dear friends, I have a problem. I have a data table with n fields. I created a form in php with the types of text and file, if you submit the content to the database at the same time? The submitted value is displayed on the page. how does the file type display the hyperlink address of the uploaded file on the page? you can click this address to view the uploaded file. Thank you!
Share: More
------ Solution --------------------
For example, the upload address is/upload/x. x.
The URL of your upload hyperlink is http: // localhost/upload/x. x.
That is, your domain name + Upload path
------ Solution --------------------
Store the uploaded image address in the image field.