|
how to insert image to mysql
Hello,
I have several questions about inserting image to a mysql database:
1-I prefer inserting image to mysql database to avoid uploading image to a dir and also to have all my text and image in just one place which is the database, but I heard that inserting image to mysql database is not recommended. Why might that be?
2-How can I do this - insert image to database?
3-Regardless of the answer to question 2, can I use<input name='new_image' id='new_image' type='file' /> as well to load the image?
4-Finally, to what type of datafield would I insert the image?
|