Here is a php function:
mysqli_stmt_bind_param($statement, "s", ...variable amount of parameters...);
It will accept a variable amount of parameters you can review the documentation here – php.net. Obviously I can’t type in $param1, $param2, $param3… because I don’t know many there will be. It is decided after run-time.
Since
call_user_func_array()is using a callback as its first parameter, you can use any function you want. For example:So, you can
call_user_func_array()as follows: