Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: FPDF
Post: RE: FPDF
(05-12-2020, 09:26 AM)vitnibel Wrote: Before outputting data to the browser, you need to set the correct type of content.
PHP Code:$this->response->setHeader('Content-Type', 'applica... |
|
niklas |
CodeIgniter 4 Addins
|
6 |
5,296 |
05-14-2020, 12:32 AM |
|
|
Thread: Looping over $this->request
Post: RE: Looping over $this->request
Hi,
I don't tested but maybe it helps you to name your form-fields as array with name="blabla[]" and use php array_filter function.
Array-Form Example:
https://stackoverflow.com/questions/9073...jav... |
|
niklas |
CodeIgniter 4 Support
|
2 |
663 |
05-12-2020, 08:04 AM |
|
|
Thread: FPDF
Post: FPDF
Hello together,
I implemented the FPDF Library in my CI4 project. It is in app\Libraries\fpdf.php + font folder.
I added the following to autoload:
Code:$classmap = [
'FP... |
|
niklas |
CodeIgniter 4 Addins
|
6 |
5,296 |
05-12-2020, 05:20 AM |
|
|
Thread: Using a thrid party Class in CI4
Post: RE: Using a thrid party Class in CI4
(05-05-2020, 11:29 AM)jreklund Wrote: Hi, you need to use \QRcode\QRcode::png('blablabla'), as you put that folder under that namespace. If I remember it correctly. Or it's just \QRcode::png('blabla... |
|
niklas |
CodeIgniter 4 Support
|
2 |
1,272 |
05-11-2020, 07:22 AM |
|
|
Thread: [solved] File Upload in CI4 does not work?
Post: RE: File Upload in CI4 does not work?
I solved it... while I was searching for something else in the Form Helper Description I found my mistake of this morning :-)
For everybody who will have the same question in the future:
Just use
PH... |
|
niklas |
CodeIgniter 4 Support
|
2 |
1,450 |
05-05-2020, 07:25 AM |
|
|
Thread: [solved] File Upload in CI4 does not work?
Post: [solved] File Upload in CI4 does not work?
Hello,
here is a short snipper from my project:
My View:
PHP Code:<?= form_open('user/upload_logo'); ?> <input t... |
|
niklas |
CodeIgniter 4 Support
|
2 |
1,450 |
05-05-2020, 04:30 AM |
|
|
Thread: Delete with Join or Where_in not working
Post: RE: Delete with Join or Where_in not working
Hi,
I don't know if its a copy & paste failure but you provide your not working functions two times with $service_id.
Did you changed one of them to $location_id? |
|
niklas |
Best Practices
|
6 |
2,802 |
05-05-2020, 02:04 AM |
|
|
Thread: Using a thrid party Class in CI4
Post: Using a thrid party Class in CI4
Hello toghether,
i want to use a third party class in my project to generate qr codes.
There is an old libary "qrlib" which is not namespaced but it works :-)
So I added the class "QRcode" to the ... |
|
niklas |
CodeIgniter 4 Support
|
2 |
1,272 |
05-05-2020, 01:27 AM |
|
|
Thread: ->onlyDeleted() returns all
Post: RE: ->onlyDeleted() returns all
Oh my god.. I think i should not develop in the morning before 2 cups of coffee to activate my brain.
The deleted_at row was not nullable so 0000-00-00 00:00 is default value of mySql. I change it to... |
|
niklas |
CodeIgniter 4 Support
|
5 |
1,865 |
03-30-2020, 05:58 AM |
|
|
Thread: ->onlyDeleted() returns all
Post: RE: ->onlyDeleted() returns all
(03-22-2020, 08:08 AM)includebeer Wrote: Can you confirm there are rows with the deleted_at field with a NULL value? Maybe your previous delete() really deleted all the rows.
Yes i can confirm that... |
|
niklas |
CodeIgniter 4 Support
|
5 |
1,865 |
03-25-2020, 03:58 AM |
|
|
Thread: restore soft deleted item in database
Post: RE: restore soft deleted item in database
(03-22-2020, 08:31 AM)includebeer Wrote: You should be able to restore a row by setting the deleted_at field to NULL. I wonder if the update was actually executed of if it was discarded because the ... |
|
niklas |
CodeIgniter 4 Support
|
2 |
1,417 |
03-25-2020, 03:52 AM |
|
|
Thread: ->onlyDeleted() returns all
Post: ->onlyDeleted() returns all
Hello,
I would like to use the softDelete Function from the CI Model Class. If I call the class with
PHP Code:->where(xyz)->delete() it work's finde.
In my database the datetime will be... |
|
niklas |
CodeIgniter 4 Support
|
5 |
1,865 |
03-18-2020, 09:09 AM |
|
|
Thread: restore soft deleted item in database
Post: restore soft deleted item in database
Hello,
i am using the ci Model Class with $useSoftDeletes = true. Now i want to implement a recycle bin to my application.
Searching the deleted items works fine.. but i don't know how to restor... |
|
niklas |
CodeIgniter 4 Support
|
2 |
1,417 |
03-18-2020, 05:46 AM |