table

Drupal6 table list

  1. mysql> SHOW TABLES;
  2. +--------------------------+
  3. | Tables_in_drupal6        |
  4. +--------------------------+
  5. | access                   |
  6. | accesslog                |
  7. | aggregator_category      |

Ejemplo de tabla con formulario con filtros

  1. /*
  2.  * Implementation of hook_menu().
  3.  */
  4. function admin_menu() {
  5.   $menu['search'] = array(
  6.     'title' => t('Search Database'),
  7.     'description' => t('Search in the report database.'),
  8.     'a

Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of frien

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code.

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need u

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need up displa

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Fix for Friends of friends code. Need up displaying user information

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Friends of friends code. Need up displaying user information

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}

Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need up displaying use

  1. <?php
  2. global $user;
  3. $rtid = 1; //Relationship type ID.
  4. $max = 5; //The amount of users to show on the block.
  5.  
  6. $user_rel = db_query("
  7. SELECT u.uid
  8. FROM {users} u
  9. LEFT JOIN {user_relationships}
Syndicate content