Re: [PHP] How to insert and select images from postgres db
Posted by Josip Dzolonga on 10/02/06 11:12
Well take a look here http://www.php.net/base64_encode and here
http://www.php.net/base64_decode , so before you put the image in
database encode it first to get a string (with base64_encode), and when
you pull the image from the MySQL database, after you get the string
value decode it with base64_decode .