This topic is locked

Having trouble with syntax

8/5/2023 6:19:18 AM
PHPRunner General questions
K
kenny_robb author

Hi there ius been a while since I did this and I am struggling with the syntax.
I have implemented database security and have added some extra data into that table
In the after login event I do a print_r($data) I get the list of data in the table associated with the logged in user.
So now I want to get some data from another table
$strSQLQuery = "select field1, field2, field3 from table2 where field1= '$data(fieldA)' and field2= '$data(fieldB)'";
from what I remember I suspect that I have " [ ( in the wrong places
Thanks in anticipation