This topic is locked

additional where tabs filtered by logged in user

2/20/2025 12:14:21 AM
PHPRunner General questions
H
headingwest author

Hi All,

How do I filter the records in an additional where tab for only the current logged in user?

Like

recordownerid = loggedinuser.id

Thanks.

G
George Kondylis 2/20/2025

Hello,

You can create a session variable to store the ID of the logged user i.e. $SESSION["eid"] . You can do that on the "After successful login.

Then on the tab "where clause" add recordownerid = ':session.eid'

img alt

H
headingwest author 2/21/2025

Thanks George