Hello world,
Can you please help me.I have a blob field and want to insert and read image, but don't know how to do that.I want to insert data with images into mysql db and then read that in php.
Thank a lot
Hello world,
Can you please help me.I have a blob field and want to insert and read image, but don't know how to do that.I want to insert data with images into mysql db and then read that in php.
Thank a lot
I would recommend not using the BLOB to store the image in. It can dramatically increase the size of your database and FAST! I would recommend uploading the images to the server and only storing the path to the image in the database.
Here's a good tutorial for what you want to do using PHP/MySQL.
http://www.php-mysql-tutorial.com/image-gallery/
http://www.php-mysql-tutorial.com/up...ile-server.php
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Bookmarks