Dear all,
how i can fetch image path in input field.
when i update form the image path has lost their path so it is not updated so please do some help.


Recommended Answers

All 3 Replies

Member Avatar for LastMitch

@narendra pratap

want to fetch image path from database in input type file when update

Do you have a code for that? If so then post the code so we can help you.
If you don't have a code you can try to used this as an example on how to do that:

As far as I know , you want image name in updating something like profile form.
you should use move_uploaded_file for uploading image , and use $_FILES["img"]["name"] for getting image name.

Member Avatar for diafol

Show your code and stop us guessing what your problem could be.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.