Wednesday, December 31, 2008

Fetch and display the image(bytea) from postgres DB

            $image = stripcslashes($row[1]);
            header("Content-Type: image/jpg");
            print($image);


No comments:

Post a Comment