Home    Back    Forward    Refresh    txtSQL Homepage

getUsers
Purpose: Obtain a list of txtSQL users
txtSQL >= 2.2.2 RC2
mixed getUsers ()

This function returns an array filled with a list of currently registered txtSQL users.


Example 6: users() Copy to clipboard
<?php
// $users now contains a list of txtSQL users
$users = $sql->getUsers();
foreach (
$users as $key => $value )
{
    print
"Username: $value<br>\n";
}
?>


User Comments - getUsers
No comments posted yet;
Last Page Next Page

'Language Reference'

User Functions
  • connect
  • disconnect
  • grant_permissions
  • getUsers
  • version
  • query_count

    Database Functions

    Data Manipulation Functions

    Table Functions

    Error Handling Functions

    SQL Syntax

  • [ txtSQL Documentation powered by txtSQL | 6 SQL Queries ]