Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Helper - Call to undefined function
Post: RE: Helper - Call to undefined function

The URI class (https://codeigniter.com/user_guide/libraries/uri.html) needs an actual URI to work with. So instead of creating one directly, you can get the current URI from the current request: ...
3,192 Views
7 Replies
03-01-2021, 02:28 AM
daveontheciforum
    Thread: How can I remove a unique constraint on a field when performing a down migration?
Post: RE: How can I remove a unique constraint on a fiel...

You could execute some SQL to delete it directly: PHP Code: -- public function down() {  $this->db->simpleQuery("ALTER TABLE pages DROP INDEX slug"); } -- (the unique index will ha...
580 Views
2 Replies
12-12-2020, 10:40 AM
daveontheciforum
    Thread: tutorial's ci4
Post: RE: tutorial's ci4

I've got a YouTube video here (https://youtu.be/c8zHxE-mN4c) that covers the basics of CI4 - I'm planning to upload more as soon as I get chance.
2,324 Views
8 Replies
12-12-2020, 10:33 AM
daveontheciforum
    Thread: Recommended version on website
Post: Recommended version on website

Hi, I have a question about which version to use - the download page (https://codeigniter.com/download) says "CodeIgniter 4 is the upcoming version of the framework" whereas "CodeIgniter 3.1.11 is ...
508 Views
2 Replies
12-12-2020, 10:26 AM
daveontheciforum

Theme © iAndrew 2016 - Forum software by © MyBB