Plugin Help – Getting User ID
Hey. I’m pretty new to this Plugin thing. Please forgive my newb-ishness.
So I’m trying to write a function that involves taking the current user’s id and searches a table for information. So far I’ve been able to access a table in a database with a static number, but I can’t retrieve the current user’s id as a variable to pass into the query. I also wrote the query myself, and I was wondering if there are bb functions I can use instead.
- You must be logged in to reply to this topic.