How to get admin in PHP?

Member

mittie.gottlieb

by mittie.gottlieb , in category: PHP , 2 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