I would like to improve an ioncube cms with a hook.
I need an SQL query able to blank mysql content in a specic row in a table, but only if the content in question start with "Modified Product/Service - Username changed from to"
Just to clarify :
- the cms in question record a log with the old / new user password when a password is changed for a product. I want to create a hook that will detect the line added in the logs, and then delete it. ...or better : a way to ask mysql to refuse to save something if it start with "Modified Product/Service..." (i assume this would have to be done in php, but that also, i cannot figure out how to do it)
What's the SQL request i need for this?
Thank you for you help on this :)