/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Return current user $user =& CFactory::getUser(); // Return user with given id $user =& CFactory::getUser($userId);
// Return current user $user =& CFactory::getUser(); // Return user with given id $user =& CFactory::getUser($userId);