Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
George Westrup: "I have saved so much time using your products. Also you are quick to respond to every question I have had. Thanks for the great support".
Charles Phillips: "I very much like the program and all of its functionality! Would be happy to give you an endorsement or recommend it to others - saves me a ton of time".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

IsLoggedInAsAdmin

Checks whether currently logged in user has admin permissions for a page.

 

Signature:

function IsLoggedInAsAdmin()

 

Example

 

if (!$this->IsLoggedInAsAdmin()) {

   // perform some actions on a page for ordinal users

}



Prev Return to chapter overview Next