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

Subscribe to our news:
Partners
Testimonials
Marco De Luca: "I can handle now both version of SQLite Databases, 2.x and 3.x. Your SQLite PHP Generator is among the best tools I have seen".
Svetlio Mitev: "I am really sure that you guys can make the best PHP code generators to be found worldwide".

More

Add your opinion

SQLite PHP Generator 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