C
|
copper21 9/19/2017 |
Syntax appears to incorrect. It should be something like: |
G
|
GregJ author 9/20/2017 |
Syntax appears to incorrect. It should be something like: $sql = "update Members set regreview=1, renewalNotes=concat(renewalNotes,' | ConcReg') where MemberID=".$values['MemberId'].""; This is assuming that "MemberID" is an integer. Brian
|
C
|
copper21 9/20/2017 |
I see what you are saying....that is a new feature in 9.8 that I was unaware of. I think that those variables may only work in the lookup wizard area, not in the events area. |
![]() |
Admin 9/20/2017 |
Try this: $sql = DB::prepareSQL("update Members set regreview=1, renewalNotes=concat(renewalNotes,' | ConcReg') where MemberID=':MemberId'");
|
G
|
GregJ author 9/20/2017 |
Try this: $sql = DB::prepareSQL("update Members set regreview=1, renewalNotes=concat(renewalNotes,' | ConcReg') where MemberID=':MemberId'");
|
![]() |
Admin 9/20/2017 |
You need to print your SQL Query on the web page instead of executing it so what went wrong. |
G
|
GregJ author 9/20/2017 |
You need to print your SQL Query on the web page instead of executing it so what went wrong.
update Members set regreview=1, renewalNotes=concat(renewalNotes,' | ConcReg') where MemberID= |