Adrian, but the stored function works, I am just not happy that the resultsare casted to strings by PHP... and wonder hpw to fix or workaround this.
>>