v5:reference:connection:blobencode
This is an old revision of the document!
blobEncode
Support for this function is limited. See the Feature Comparison Matrix
Syntax
mixed blobEncode( string $blob )
Description
The function blobEncode()
encodes a value using the database specific encoding method and returns the encoded value or false if the function fails. Once inserted, the value cab be inserted into a blob field in the database
Usage
$fld = file_get_contents('/temp/stored.jpg'); $blob = $db->blobEncode($fld);
v5/reference/connection/blobencode.1452648624.txt.gz · Last modified: 2017/04/21 11:36 (external edit)