Blog Details

how to get joomla user id


                                
                                    <?php

$user =& JFactory::getUser();
$usr_id = $user->get('id');
echo $usr_id; // this is the log-in user ID :-)

?>
                                    


Categories

Joomla

Latest posts

13.05.14
Implementing CRUD Operations ΒΆ

<ul> <li>Now comes the fun part. We would like t

13.05.14
View

<ol> <li><a href="http://www.yiiframework.com/do

13.05.14
Creating Model

<ol> <li><a href="http://www.yiiframework.com/do

Get Free Quote