Query In Controller

Query In Controller

cemlimitedcemlimited Posts: 36Questions: 9Answers: 0
edited November 2021 in Editor

Hi there,

New to the Forum ,so apologies if my etiquette is incorrect.
When I am using Editor, I also want to execute an additional query which send a record of the event to a log. I therefore need to use the String created by the Controller within another mysql query.

Is it possible to obtain this without iterating over the complete POST data?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi! Take a look at events, they'll do what you're looking for. This section here has an example which is probably exactly what you want - it's logging the access to a different DB.

    Colin

  • cemlimitedcemlimited Posts: 36Questions: 9Answers: 0

    Fantastic Colin ..>Thank you so much......

Sign In or Register to comment.