Check (sample) the lines 43 to 48.
If the parameter is a number or a variable the code it does not work (function prepareWere and update function).
The problem must also happen to insert using parameters that are not strings.
You must modify / revamp the entire class.
Allan Klaus - 2015-12-03 20:32:00 - In reply to message 1 from António Lourenço
You are using in the wrong form u always need to send a array in parameter, it's the best way when you have more than one parameter, if you have only one put it in a array.