We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,688 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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

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.

thanks

4
Contributors
3
Replies
1 Week
Discussion Span
7 Months Ago
Last Updated
5
Views
narendra pratap
Newbie Poster
1 post since Oct 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

@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:

http://php.about.com/od/phpwithmysql/ss/Upload_file_sql.htm

LastMitch
Industrious Poster
4,374 posts since Mar 2012
Reputation Points: 149
Solved Threads: 349
Skill Endorsements: 47

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.

M0rteza
Junior Poster in Training
63 posts since Apr 2010
Reputation Points: 11
Solved Threads: 4
Skill Endorsements: 0

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

diafol
Keep Smiling
Moderator
10,828 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,532
Skill Endorsements: 61

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.2023 seconds using 2.71MB