Applying INNER JOIN in Select Dynamic, referencing logged current user (Live) - SEBLOD Dynamic Select
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT #__table1.column_datas | |
FROM #__table1 | |
INNER JOIN #__users /* Table Users Joomla. */ | |
ON #__table1.column_username = #__users.username /* The call #__ users.username takes all users registered on Joomla. */ | |
WHERE #__users.username = "$user->name" /* Condition that checks and retrieves the name of the current logged in user. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment