function update($query, $paramtype, $param_value array) { $sql = $this->conn->prepare($query); $this->bindQueryParams($sql, $param_type, $param_value array); $sql->execute(); code example
Example: php my sql prepare bind param with multiple statements
$array_of_values = array( "Brasil", "Argentina" );
$types = "ss";
$mysqli_stmt->bind_param( $types, ...$array_of_values );