Data query username and $Session_Name

Hi
Trying to build a MYSQL query on a table to return data where the username = $SESSION_NAME, is this possible within wappler?
so something like IF ‘username’ = ($_SESSION[‘username’]).
Tried adjusting the syntax to include{} and{{}} around ($_SESSION[‘username’]) but nothing.
Any idea anyone?
I works outside of Wrappler as normal code though?

Thanks
Michael

Community Page
Last updated: