Cascaded user funtions may be ignored

This only an information … may help other developers
I have two uder defined functions in a library.
function a) dblookup (,
function b) trim (…

Both function are tested and work properly.

The expression

$a = trim(dblookup( …)) ignores the statement trim !!! only dblookup is executed

$a = dblookup(…
$a = trim ($a) …this works.

So be careful if you cascade user defined functions and test the result …

Uwe

i think your function TRIM has conflict with TRIM function of PHP. Try MyTRIM() funcion

If found my error at the end of my code. SC works fine … Thanks a lot …

Uwe