Update data with (,) using is_unique is not work. Codeigniter v.4.4.3 |
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 . ']'. |
Messages In This Thread |
Update data with (,) using is_unique is not work. Codeigniter v.4.4.3 - by adimancifi - 12-13-2023, 04:18 AM
RE: Update data with (,) using is_unique is not work. Codeigniter v.4.4.3 - by gabriel_fucci - 12-13-2023, 11:23 AM
|