Morning,
I am trying to keep a log of sql requests made to add change edit and delete data. The problem ist I am writing the SQL Request into another table and I keep getting an error because of the ' in the request.
I am using the after edit Event.
spo_WriteLog("Dienste Open Change Requestlist",$strSQL." ".$strWhereClause." ".$strOrderBy)
mySQL keeps telling me that there is an error and points to the ' in the SQL Request.
How can I mask the ' in the SQL Request so that it will be saved as text in the log file?
Thanks in advance.
Robert Künkel-Smith