Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Model builder timestamp
Post: Model builder timestamp

Just ask, when using insert/save data by model, timestamp inserted automatically ex: PHP Code: -- $model->insert($data); -- but, when insert by builder like PHP Code: -- $builder = $model->bui...
394 Views
1 Replies
05-30-2022, 10:42 PM
mylastof
    Thread: BAGAIMANA CARA MENGAMBIL DATA DARI HALAMAN SEBELUMNYA
Post: RE: BAGAIMANA CARA MENGAMBIL DATA DARI HALAMAN SEB...

iuran.php itu dari controller apa?
2,805 Views
1 Replies
02-04-2022, 09:49 PM
mylastof
    Thread: Route not work with regex
Post: RE: Route not work with regex

iRedds Wrote: (01-27-2022, 11:43 PM) -- PHP Code: -- $routes->addPlaceholder('unique', '[a-z0-9]{40}|all'); $routes->addPlaceholder('tab', 'done|in-progress'); $routes->get('(:unique)', 'Pages...
1,075 Views
3 Replies
01-28-2022, 06:51 PM
mylastof
    Thread: Route not work with regex
Post: Route not work with regex

I have reoutes with custom placeholder like: Code: -- // route $routes->addPlaceholder('unique', '([a-z0-9]{40}|all)$'); $routes->addPlaceholder('tab', '(?:^|done|in-progress)$'); $routes->...
1,075 Views
3 Replies
01-27-2022, 09:10 PM
mylastof
    Thread: Time() not same?
Post: Time() not same?

Code: -- $now = Time::now(); $new_now = Time::createFromTimestamp($now->timestamp); -- $new_now create from $now->timestamp but $new_now not showing the same Time with $now even I add timeZo...
873 Views
2 Replies
01-17-2022, 05:22 AM
mylastof
    Thread: How to return count from findAll() function?
Post: How to return count from findAll() function?

I'm using findAll($limit, $offset) for pagination, besides that I also want to display the count of all of them without $limit, is there any special function? whereas read https://codeigniter.com/u...
564 Views
1 Replies
01-07-2022, 10:02 PM
mylastof
    Thread: No way to permit empty on file upload
Post: RE: No way to permit empty on file upload

i have same issue [hr] Im forgot to use : ` if ($files->hasFile('file_')) {`
1,850 Views
3 Replies
12-24-2021, 08:27 AM
mylastof
    Thread: vendor/autoload.php not execute with multiple applications?
Post: RE: vendor/autoload.php not execute with multiple ...

FYI: I Just edit COMPOSER_PATH to Code: -- __DIR__ . '../../../../vendor/autoload.php' -- but it goes HTTP ERROR 500
1,282 Views
2 Replies
12-10-2021, 08:30 AM
mylastof
    Thread: vendor/autoload.php not execute with multiple applications?
Post: vendor/autoload.php not execute with multiple appl...

anyone can help to resolve COMPOSER_PATH with multiple application? vendor/autoload.php cant load, I have edit COMPOSER_PATH (...\site1\app\Config\Constants.php) but still not work ... test repo:...
1,282 Views
2 Replies
12-10-2021, 06:28 AM
mylastof
    Thread: Update Multiple Applications
Post: RE: Update Multiple Applications

I have too ..... problem with composer :(
805 Views
1 Replies
07-07-2021, 09:09 AM
mylastof
    Thread: CI4 documentation typo
Post: RE: CI4 documentation typo

It has been fixed in v4.1.2
1,893 Views
3 Replies
05-17-2021, 11:06 PM
mylastof
    Thread: what is ?[0;32m and ?[0m in php spark
Post: RE: what is ?[0;32m and ?[0m in php spark

I have try with another terminal, just "error" in Git Bash .. with CMD / PowerShell working as expected. Thanks forĀ  the response, I now just switch to other terminal.
2,175 Views
5 Replies
05-16-2021, 11:10 PM
mylastof
    Thread: what is ?[0;32m and ?[0m in php spark
Post: RE: what is ?[0;32m and ?[0m in php spark

then, how can I resolve it? re install?
2,175 Views
5 Replies
05-11-2021, 12:58 AM
mylastof
    Thread: what is ?[0;32m and ?[0m in php spark
Post: what is ?[0;32m and ?[0m in php spark

In Dev, what is the `?[0;32m` and `?[0m` when run `php spark`? See screenshot:
2,175 Views
5 Replies
05-10-2021, 10:24 PM
mylastof
    Thread: has_cookie helper always return false?
Post: has_cookie helper always return false?

I have done set_cookie() on another method, but I want to check with has_cookie() in another method, but always returns false. Whereas if run on the same method, set_cookie() then has_cookie(), ...
798 Views
1 Replies
05-07-2021, 04:57 AM
mylastof
    Thread: how to get ID's after insertBatch()?
Post: how to get ID's after insertBatch()?

the `$db->insertID()` is great, but when using insertBatch() I cant get it in array or you have any suggestion?
1,355 Views
2 Replies
03-01-2021, 01:43 AM
mylastof
    Thread: How to stop setPrefix() ?
Post: How to stop setPrefix() ?

The DBprefix has been set on ".env" how to set DBprefix just once? in one method/function I have the following code: Code: -- $db->setPrefix(''); $table = $db->prefixTable('oldtable'); $...
488 Views
0 Replies
02-28-2021, 11:37 PM
mylastof
    Thread: How do I turn off the debugger?
Post: RE: How do I turn off the debugger?

just set "production" on "CI_ENVIRONMENT" ....
1,044 Views
2 Replies
01-27-2021, 07:44 AM
mylastof
    Thread: localhost send an invalid response
Post: RE: localhost send an invalid response

I want to see complete file structure, is possible?
5,949 Views
16 Replies
11-29-2020, 06:20 AM
mylastof
    Thread: Surprised to see codeigniter 3.x running successfull with PHP 8.0 as well.
Post: RE: Surprised to see codeigniter 3.x running succe...

waiting for "Shared hosting" update ........
21,160 Views
12 Replies
11-28-2020, 06:35 AM
mylastof

Theme © iAndrew 2016 - Forum software by © MyBB