Welcome Guest, Not a member yet? Register   Sign In
Update data with (,) using is_unique is not work. Codeigniter v.4.4.3
#2

probably '{$post Title}' is not recognized as the value of your variable, but a literal string '$postTitle'. In the documentation for the "is_unique" part it says this "Warning: If `$uuid` is a user input, be sure to validate the format of the value before using it. Otherwise, it is vulnerable.".

Try with concatenation to actually get the value of the variable like this: 'is_unique[t_post.title,title,' . $postTitle . ']'.
Reply


Messages In This Thread
RE: Update data with (,) using is_unique is not work. Codeigniter v.4.4.3 - by gabriel_fucci - 12-13-2023, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB