Member
mittie.gottlieb
How to get admin in PHP? 🙃
1 2 3 4 5
public static function getAdminById() { $b=$_COOKIE['id']; $sql=DB::query(Database::SELECT,"select name,adminId from admin where adminId=$b")->execute(); return $sql; }