Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: david Panter
Added: Aug 2, 2018 11:29 AM
Modified: Aug 2, 2018 11:35 AM
Views: 2
Tags: no tags
get user account details
  1.   // load record from 'accounts'
  2.   list($accountsRecords, $accountsMetaData) = getRecords(array(
  3.     'tableName'   => 'accounts',
  4.     'where'       => " num = '" . $CURRENT_USER['num'] . "' ",
  5.     'loadUploads' => true,
  6.     'allowSearch' => false,
  7.     'limit'       => '1',
  8.     'debugSql'    => false
  9.   ));
  10.  
  11.   $accountsRecord = @$accountsRecords[0];