[form enctype=“multipart/form-data”]. Another way you get no valid request.
Path to your file - $_FILES[“picture”][“tmp_name”]. If you want to save binary code of your Image, use fread and e.g. base64_encode. If you want to save local path to your Image, use at first move_uploaded_file.
Be clear about what you are trying to do. Is that column intended to store the name of the image, or the binary data of the image?
If you browse back through this forum a little while, there is quite a lot of fairly recent discussion of image upload and storage using various different methods.
Always validate your HTML first or you would get unexpected results that leads your helpers in the wrong direction. Debugging is hard enough, make it easier.
So, you have some JS or Ajax code directly involved with uploading the form that you haven’t shown us, it’s all working perfectly, except that a big bit of the form isn’t posting? That seems a strange definition of “perfectly” to me, unless I am misunderstanding something.
when I comment code related image upload alll the data is storing correctly in database but when I add the upload image code again then data is not inserting in database table.
Need to see the code, can’t image what it is doing. If your upload code is resulting in an empty $_FILES array, then there must be a problem with it somewhere, surely?