I have build a joomla Fabrik list with several Elements. Column 1: ID Column 2: Name Column 3: Age
Some users are able to edit the list Elements, so i have changed the normal save button, to a button which executes a php script in the Background. This calls me, which user is logged in and has edited something. I was able to get the logged in joomla user in php, but now i Need also the ID, which is the internal_id from the joomla list in php.
<Code>
```php
$mainframe = JFactory::getApplication('site');
$mainframe->initialise();
jimport( 'joomla.user.user');
jimport( 'joomla.session.session');
jimport( 'joomla.user.authentication');
// now get user object and 3 example user variables
$user = JFactory::getUser();
$jid = $user->id;
$jname = $user->username;
$jguest = $user->guest;
</Code>
This is the Code to get the logged in user in the backup_cmd.php file. But now i need some ideas for the internal_id.
Some users are able to edit the list Elements, so i have changed the normal save button, to a button which executes a php script in the Background. This calls me, which user is logged in and has edited something. I was able to get the logged in joomla user in php, but now i Need also the ID, which is the internal_id from the joomla list in php.
<Code>
```php
$mainframe = JFactory::getApplication('site');
$mainframe->initialise();
jimport( 'joomla.user.user');
jimport( 'joomla.session.session');
jimport( 'joomla.user.authentication');
// now get user object and 3 example user variables
$user = JFactory::getUser();
$jid = $user->id;
$jname = $user->username;
$jguest = $user->guest;
</Code>
This is the Code to get the logged in user in the backup_cmd.php file. But now i need some ideas for the internal_id.