Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Multiple ignore-fields for is_unique-function
Post: RE: Multiple ignore-fields for is_unique-function

I was able to fix the issue. I made custom function for the validation to check 2 database fields:     Code: --     public function is_unique_multiple(string $str = null, string $field, array $...
4,475 Views
4 Replies
10-29-2020, 03:40 AM
mboehmlaender
    Thread: Multiple ignore-fields for is_unique-function
Post: RE: Multiple ignore-fields for is_unique-function

Hey, thanks for your answer. Unfortunately, that does not work. You're interpreting correctly. My issue is the following: I have a table for podcast Episodes. The Episodes are referring to a pod...
4,475 Views
4 Replies
10-29-2020, 01:04 AM
mboehmlaender
    Thread: Multiple ignore-fields for is_unique-function
Post: Multiple ignore-fields for is_unique-function

I'm having some issues with the Codeigniter 4 validation rules. I'm using the is_unique function within the ruleset in Order to except one single row from the validation. The problem here is that the...
4,475 Views
4 Replies
10-28-2020, 08:20 AM
mboehmlaender
    Thread: Pagination and segment URIs
Post: RE: Pagination and segment URIs

Great, that did the trick! In the controller, i changed the function to Code: -- public function index($page = 1) -- and the $data['usergroups'] to Code: -- $data['usergroups'] = $mode...
2,635 Views
3 Replies
07-06-2020, 11:47 PM
mboehmlaender
    Thread: Pagination and segment URIs
Post: Pagination and segment URIs

I began writing a webapp in Codigniter 4 and currently, i'm stuck with the pagination. I created a controller, a model an a view to retrieve database entries für usergroups and used CI's built-in pagi...
2,635 Views
3 Replies
07-06-2020, 10:44 PM
mboehmlaender

Theme © iAndrew 2016 - Forum software by © MyBB