[CI4] Escaping ticket content message |
Hey guys, I am trying to create a ticketing system and I had a question here.
do I need to use escapeString() while using a model->save($entity)? if so, while using escapeString, after saving the TicketReply entity, the content message is something like this: PHP Code: test\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\ntest\r\n PHP Code: // this is actually my question, do I need to escape this field or CI does it for me? Thanks for taking the time. |
Messages In This Thread |
[CI4] Escaping ticket content message - by Awlikhaleghi - 12-22-2020, 02:14 PM
RE: [CI4] Escaping ticket content message - by kenjis - 12-25-2020, 08:10 PM
|