(02-04-2021, 03:56 PM)InsiteFX Wrote: You use it on data that your going to be saving into a database.
MySQL escape string is depreciated.
Thanks for the reply, I mean, the codeigniter escape_str function, should this be adding backslashes before apostrophes? I thought that was only if magic quotes was enabled.
(02-04-2021, 09:50 PM)InsiteFX Wrote: Yes, it should because it is interpreted as a single quote mark.
Thanks again for your reply, does this not imply the documentation is incorrect, as the query builder does not put the backslash, which implies that the query builder is using bindings and not using an escape function (as it appears to suggest?)