Which is working for user_id, but I want to also save the IP address of the user to the table. Can I use a placeholder that would be substituted for the IP address?
Why can't I use global variables within the Joomla framework as well, perhaps session variables in my queries?