I got an error in the following code piece: Too few arguments to function showtbl::GetTabellen_ns(), 0 passed in abcde/folder/php.php on line 153 and exactly 2 expecte
Too few arguments to function showtbl::GetTabellen_ns(), 0 passed in abcde/folder/php.php on line 153 and exactly 2 expecte
You call the function like this: $this->GetTabellen_ns()
$this->GetTabellen_ns()
But function needs two arguments (offset and limit).
offset
limit
If you want to set these argument as optional argument, you can give them a default value like this:
protected function GetTabellen_ns($offset = 0, $limit = 0){ . . . }