Error "too Few Arguments To Function"
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 expected Don't know
You call the function like this:
$this->GetTabellen_ns()
But function needs two arguments (offset
and limit
).
If you want to set these argument as optional argument, you can give them a default value like this:
protectedfunctionGetTabellen_ns($offset = 0, $limit = 0){
.
.
.
}
Post a Comment for "Error "too Few Arguments To Function""