Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Images and mysql

    Hi all,

    I was wondering If anyone knows how to insert images into MySQL and how to retrieve and display the images... VIA php.
    Thanks
    haymandan Guest

  2. Similar Questions and Discussions

    1. dynamic images php/mysql
      hello! i'm using a mysql database to store product details. i also have an image field declared as blob. i have the products.php page which i...
    2. Loading images in a movieClip using PHP/MySQL
      Loading images in a movieClip using PHP/MySQL I'm just starting to learn Actioncript, so this may be simple. I would be very happy if anyone could...
    3. Problems with images in MySQL database
      I'm having problem with images becoming corrupted after loading them into a MySQL database and extracting them again. I'm pretty sure it's todo with...
    4. Displaying images from a MySQL Database
      Hi I'm have difficulty displaying images that are stored in a MySQL database. I've tried using the odbc.net provider, the ByteFX provider and the...
    5. Images from MySQL
      Hi All I'm trying to store images in a MYSQL db, the images at being uploaded for an external program in a blob field. I have had a look round...
  3. #2

    Default Re: Images and mysql

    Use a blob field, although I'd just prefer to leave them on the disc...


    haymandan wrote:
    > Hi all,
    >
    > I was wondering If anyone knows how to insert images into MySQL and
    > how to retrieve and display the images... VIA php. Thanks

    rob::db Guest

  4. #3

    Default Re: Images and mysql

    rob:db is correct.

    Typically, you'll want to save the path in the db only. You can still have
    all the info about the file, title, alt text, and what not but simply have a
    table set named path and inside have for example: /img/your-image.jpg .



    tecknowjnkie Guest

  5. #4

    Default Re: Images and mysql

    Thanks, got it working now but without using blob. I couldn't figure out what
    to enter in the text field to get it to pen up the image file but I have it
    now. this how I entered it to beable to access the image.

    <img src="http://bucklehaven.com/images/2269.jpg">
    Thanks


    haymandan Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139