Witam mam taki kawałek kodu i wywołuje on błąd u mnie: Warning: Missing argument 2,3,4,5 for Page::restiger(), called in. Błąd pokazuje mi w miejscu gdy funkcja restiger przyjmuje argumenty
// Rejestracja
if (isset($_POST['first'])) {
$page = new Page;
$page->restiger($_POST['first'], $_POST['last'], $_POST['birth'], $_POST['email'], $_POST['password']);
}
//kod funkcji register
public function restiger($name, $surname, $birth, $email, $password)
{
echo "Hi";
}