Joomla Questions

Capturing a Joomla User ID as a PHP variable

Hello:

I would like to capture the UserID of a user (as a PHP variable) when they log into my site.

I would then like to use the UserID variable to perform a query on a db table.

Can you start me out on how to capture the UserID as a variable?

Thanks



 

This question was answered by our experts

 
Real Time Web Analytics