blob: 66cf7380efe7d9f284c8acfc61ca8ff8b9d24631 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
define('DRUPAL_ROOT', getcwd());
include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
$result = db_query('SELECT * from {users}');
foreach ($result as $record) {
/* ToDo: call drupal_render? or theme and create a table */
print $record->name . PHP_EOL;
}
|