Possible Duplicate:
How can I store and retrieve images from a MySQL database using PHP?
i want store and fetch image from mysql database. is anybody i have knowledge about this.
Thanks in advance. Ravi Sharma
You can store the image contents (use file_get_contents function) into field of type BLOB. Another solution to decode binary data with function base64_encode and store in simple TEXT type field.
You can store images in a Blob-type column.
Check out the comprehensive tutorial here
You do not want to store images in your database. You want to use the filesystem and only store image meta data in the database, like the filesystem path.
加载中,请稍侯......
精彩评论