sqlite_safe_decode

mIRC SQLite

sqlite_safe_decode
Decodes safe-encoded data.
Syntax
$sqlite_safe_decode ( data )
Parameters
data
The data to be decoded.
Return Value
Decoded data on success or $null on error.
Remarks
$sqlite_safe_decode is used to decode data encoded by $sqlite_fetch_all or $sqlite_safe_encode.

In case $null is returned it can mean an error, but it can also happen if you tried to encode an empty string. It should be ok to ignore this, but in case you want to determine whether $null meant an error or not, you can check the %sqlite_errno variable; if it's $SQLITE_ERROR_OK there was no error.