This topic is locked

Insert break points on server side code

9/21/2023 8:14:53 AM
PHPRunner General questions
author

I have the code below running on the server side of a button. The idea is to basically grab user input from the client before and take action on the server side. This works perfect on one table so I coppied the code to another and just changed the target (insert into) table name and one field name, but I cant seem to get it to work on the new table.
$strSQLinsert = "insert into vacreject_comment (VacID, RejDate, Authorizer, AuthLevel, RejComment) values (".$recID.", '" .now()."', '".$curUser."', ".$curAuthLevel.", '".$rejcomment."')"; DB::exec($strSQLinsert);What I need is to put a breakpoint before DB::exec($strSQLinsert) so I can see what exactly is wrong. How know how to do that with client before and after but not server side. I am using chrome browser
Thank you