Before the upgrade of my php (previously was 5.2.13 I think), the code below worked fine:
// Bind parameters
if (!call_user_func_array(array($stmt, 'bind_param'), $referencedArray)) {
die("Error binding parameters: $stmt->error");
}
But since my php has been upgraded, I cannot use call_func_array. Does anyone know what I can change this code to so it would work in the new php version 5.3.10?