Skip to main content
Participant
February 7, 2007
Question

How to add images to database (mysql)

  • February 7, 2007
  • 1 reply
  • 311 views
Hello everyone,

Need to learn how to add images (jpeg) to a database (egmysql). Please point me where infomation can be found or examples how this is done.

Thanks
Ulises
This topic has been closed for replies.

1 reply

Inspiring
February 7, 2007
Its better not keeping the images in the database. Instead, upload the
images to a folder, and store the path to the image in the database, it
makes them much easier to manage.

There are plenty of tutorials on file uploading with PHP on the net, and
check out the PHP manual for file uploading as well for more code examples.


--
Gareth
http://www.phploginsuite.co.uk/
PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.