Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How to add images to database (mysql)

New Here ,
Feb 07, 2007 Feb 07, 2007

Copy link to clipboard

Copied

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
TOPICS
Server side applications

Views

276
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 07, 2007 Feb 07, 2007

Copy link to clipboard

Copied

LATEST
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.


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines