![]() |
Myr0n 9/13/2016 |
Hello, USE Mysql. I like to use $strSQL in a List for select all records with Name = UserID. In the List Page: Before SQLQuery event i have code: $strSQL = AddWhere(strSQL, "[Name]='" & session_id("UserID") & "'") I get a error: 256 Fout beschrijving You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'strSQL count(*) trSQL where ' at line 1 Please help to solve the error with right code?. Regards, Workingwim.
|
W
|
workingwim author 9/13/2016 |
you need to add in your session variable $_SESSION["UserID"] [font="Courier New"] |