SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Photo database

  1. #1
    SitePoint Member seabuggz's Avatar
    Join Date
    Sep 2001
    Location
    Belgium
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Photo database

    Hi there!

    How can I create a database containing images?
    What I would like to do is create a database that includes photo, showing up with the data somebody search for.

    Thanks for your time!

    ... still pretty green
    .:: who decides reason? ..:

  2. #2
    SitePoint Guru
    Join Date
    Sep 2001
    Location
    Vancouver
    Posts
    809
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Create a database, then simply put the HTML <IMG> tags in your fields. Simple.

  3. #3
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, i think he wants to store the picture itself in the db.
    that is a VERY bad idea as it will slow the db down A LOT.
    just store the image's url in the db, and then just call that from you php script.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •