store image path in mysql and retrieve the image

how to store image path in mysql and retrieve

Page 1 of 1

2 Replies - 8570 Views - Last Post: 01 October 2010 - 10:11 AM Rate Topic: -----

#1 godilo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 01-October 10

store image path in mysql and retrieve the image

Posted 01 October 2010 - 09:45 AM

i want to store my images in a location in my server and save the image path in mysql table. my php script is already storing the images in my server. how can i store the path and retrieve it. can anybody help me please?
Is This A Good Question/Topic? 0
  • +

Replies To: store image path in mysql and retrieve the image

#2 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10185
  • View blog
  • Posts: 37,603
  • Joined: 27-December 08

Re: store image path in mysql and retrieve the image

Posted 01 October 2010 - 10:05 AM

Moved to PHP.

Take a look at using a SQL server, and storing the path in a field in a database table. The PHP Tutorials Section has plenty of examples of working with SQL, specifically MySQL.
Was This Post Helpful? 0
  • +
  • -

#3 LiDoNg_9_0  Icon User is offline

  • D.I.C Head

Reputation: 10
  • View blog
  • Posts: 159
  • Joined: 03-September 09

Re: store image path in mysql and retrieve the image

Posted 01 October 2010 - 10:11 AM

View Postgodilo, on 01 October 2010 - 08:45 AM, said:

i want to store my images in a location in my server and save the image path in mysql table. my php script is already storing the images in my server. how can i store the path and retrieve it. can anybody help me please?


show ur code in uploading your picture. and maybe we can help..
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1