try using $auth_session->id
let us know how you go
cheers
justin
hey il_dandi
assuming you are changing the save invoice code - just add $auth_session->id into the sql code where you want to add in the user id
cheers
justin
??
> $auth_session->id
But this isn't a SQL code!!
suppose that I've saved customers created by a specified user (in a field user_id created in table)
in query that show records I've to add a condition for select only records with user_id = XX
but how Can I know the user logged-in ID??? I could save the user ID in a session var??
Or??? Can you help me?
It looks like you're new here. If you want to get involved, click one of these buttons!