On Sun, Feb 6, 2011 at 2:36 PM, Samuel Adam <a...@certifound.com> wrote:
> > * Make sure the binding is done as BLOB and not TEXT. PDO probably > has > its own flags defined for this. This is the part that tells SQLite > whether you are inserting TEXT or BLOB. > http://www.php.net/manual/en/pdostatement.bindparam.php When inserting the GIF, the 3rd argument to bindParam() must be PDO::PARAM_LOB (not BLOB, interestingly). The default is PDO::PARAM_STR, which almost certainly results in the OP's frustration. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users