Category "codeigniter"

How active a function with time interval PHP | Codeigniter 3

There's a way to call a function every minute? i have an API call from my codeigniter controller with cURL, can php call that function every min?

Best Practice to Print Barcode In dompdf

I want to create a label sticker with barcode in PDF. Please give me the suggestion to create this things. Now , I use CI3 and dompdf. I have tried googling a

Creating live search with AJAX and CodeIgniter

I'm trying to create a live search feature in CI (which I've never done before). I'm pretty new to web development and am still learning things. I found this li

GuzzleHttp Hangs When Using Localhost

Here is a simple code snipplet but this just hangs and unresponsive. $httpClient = new GuzzleHttp\Client(); // version 6.x $headers = ['X-API-KEY' =&g

CodeIgniter extend CI_URI undefined method

So I've been in the process of updating someones old CI 1 to CI 3 code. In process. In particular, the URI class extension is not working. I've read the CI doc

How to display table header in every page using FPDF library?

just need your help with my code. My question is how can I get the table header from the previous page and access it on the remaining pages? If I have a large d

CodeIgniter 3 is generating a session file on each request, why?

I use CodeIgniter (v3.1.11) for my webapp and files as session_driver. The session library is autoloaded and configured like this $config['sess_driver']

CodeIgniter 4: Like and Dislike Functionality

I have implemented the following like/dislike code inspired by Code with AWA. EDIT I'm using CodeIgniter now if that changes anything. I have updated my questio

Getting error: CodeIgniter\Database\BaseResult::getResult in CodeIgniter

I am trying to use CodeIgniter 4 crud function findAll and I am getting the error Argument 1 passed to CodeIgniter\Database\BaseResult::getResult() as shown be

How avoid Moved Permanently The document has moved here

I'm in a site and I would call an API that is in another site. So I build a curl $url = ........ $curl_data = array('name'=>$name); $ch = curl_init(); cur

how to pass row id in href of a tag in codeigniter controller?

I am using jqxgrid in codeigniter to display records from mysql database. while displaying the data, I made a column named 'action' that contains edit a tag to

unable to load your default controller on Codeigniter

This is the error that i am getting. Please make sure the controller specified in your Routes.php file is valid. Let me explain this. In my application i

How to edit Records using CodeIgniter

how do i edit my records?i keep getting to wrong pages.. thanks in advance really need help i based my code in my delete function i got from yesterday but i hav

Why does codeigniter & Linux server throws unserialize() session data error when user tries to login

I am developing an app using CodeIgniter and I have deployed this app on a linux server, the issues I am facing is this error ERROR - 2022-01-06 11:48:16 -->

Populate Dynamic Dropdowns List in Codeigniter

Database inlcude Groups like Arts,Science and IT.By Choosing one Group Second Dynamic Dropdown appear which will show the Subjects Related to Group. This is my