} <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<p>Line Number: 21</p>
</div>PHP Fatal error: Call to a member function library() on a non-objectin /Users
我对php中的OOP有点陌生,每次在模型中都会遇到这个问题,但是我找不到导致这个问题的错误。php
public function __construct(){ require_once 'CheckAdmin.php'; // Check if the user is admin to enter page + more.S