Skip to main content
Participant
July 1, 2007
Question

uploading images into a database

  • July 1, 2007
  • 1 reply
  • 204 views
I need help. i am currently working on a project to develope myself further on web development. i would love to know how to get my site to upload images to a database. i am building the site on PHP and the db is MySql.
This topic has been closed for replies.

1 reply

Inspiring
July 1, 2007
Michael Agbogidi wrote:
> I need help. i am currently working on a project to develope myself further on
> web development. i would love to know how to get my site to upload images to a
> database. i am building the site on PHP and the db is MySql.

Do not store images in a database. It's inefficient and leads to a lot
of coding problems. Store the images in a normal folder on your website,
and store the filename and path in the database.

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/