여기 내 클래스의 :내 기능에 인수 한 누락
<?php
class eshop_log extends baseDB {
function insert($tel,$eshop_id,$log) {
$this->insert();
}
}
?>
그리고 여기에 내가 그것을 사용하는 방법은 다음과 같습니다
$tel= $_POST['telephone'] ;
$id= $_POST['id'] ;
$log="log";
$e_l= new eshop_log();
$e_l->insert($tel,$id,$log);
가 왜가 인수 한 누락 무엇입니까 eshop_log :: eshop_log()?
덕분에 당신이 어떤 인수를 전달하지 않고 다시 insert()
메소드를 호출
function insert($tel,$eshop_id,$log)
내부 톤
상위 삽입 기능에 액세스하려면이 사용하는'부모 : 삽입()'. 이제 무한 루프를 만들고 있습니다. –