Results 1 to 2 of 2

Thread: Dynamic Images

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Images

    Hi, I was wondering if some one knows how to upload images to a mysql database in dreamweaver. I have come across a tutorial that show how to add dynamic content from a input form in dreamweaver and now I want to add images with the same input form. Here is the tutorial for reference http://paul.ecommerce.hct.ac.ae/tuto...xphp-part2.htm thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    dreamweaver has NOTHING to do with PHP.
    You can edit a php page with dreamweaver.
    But to actually do php, you just look at the code.
    I like using DW 'cause it color codes the source so it's easier to see.

    But... you still need to code the php by hand.

    Don't store images in a database. Databases are for DATA, not files. The database would get huge, and just isn't supposed to be used for that. It's possible, and I've seen it done, but that's not the "right" approach.

    Use a database and store the URL to the image (and any other fields you want), then just use that url in your php to get the image that way.

    look here: http://php-mysql-tutorial.com
    step by step, easy. worked for me.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •