====== blobDecode ======
~~NOTOC~~
Support for this function is limited. See the [[v5:database:feature_comparison|Feature Comparison Matrix]]
== Syntax ==
mixed blobDecode(
string $blob
)
===== Description =====
The function ''blobDecode()'' decodes a blob field and returns the value of the field or false if the function fails.
-------------------------------
===== Usage =====
$SQL = "SELECT blob_field FROM table";
$blob = $db->blobDecode($db->getOne($SQL));
file_put_contents('/temp/stored.jpg',$blob);