Dear friends,
A library of some utility functions of FWH is also available for mod-harbour.
You can access very comfortable databases (DBF & SQL), arrays, hashes, and JSON strings.
At present, the following functions are ready:
function MH_ArrayToHTML( aData, aHead, lWebPage )
function MH_BinrayRsToHTML( oRs )
function MH_DbfToArray( cFieldList, bFor, bWhile, nNext, nRec, lRest, aData )
function MH_DbfToHTML( cFieldList, lWebPage )
function MH_ImageToBase64( cImage )
function MH_RecordSetToHTML( oRs, lHtmlPage )
static function CloseTag( cTag )
static function ImageType( cBuf )
static function IsBinaryData( cData, nLen )
static function MH_ValToHTML( uVal, cTag )
These functions are working well and are generic functions.
If we see that there is some interest we will post the code for use by all.
Best regards,
Otto