PHP inserts images into the database. how do I write the code? How to display it & lt; formaction & quot; bb. php & quot; method & quot; post & quot; & gt ;& lt; tablewidth & quot; 730 & quot; border & quot; 0 & quot; cellspacing & quot; 0 & quot; cellpadding & PHP inserts an image into the database. how can I write the code? How to display
This is my form. I want to insert the content to the database when I click Submit. of course, the image is required. I know that after the image is inserted, it is in a directory and I do not know how to write it, help me. thank you.
------ Solution --------------------
Insert the name and path to the database. the file exists in the path.
------ Solution --------------------
The relative path is the file upload path.
------ Solution --------------------
Blob field. Save path, do not save content. The content exists in the path.
------ Solution --------------------
(After reading the rhino book, I am confident !....) Which one ???? Introduction.
Discussion