How to get admin in PHP?

by mittie.gottlieb , in category: PHP , 9 months ago

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;
}
Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers