skip to Main Content

Create date range report column using codeigniter 3 excel – Mysql

I want to create export file date-range report using ci. views.php <div class="form-group row"> <label for="attn_date" class="col-sm-4 col-form-label">From</label> <div class="col-sm-8"> <input type="date" class="form-control" id="attn_from" name="attn_from"> <?= form_error('attn_from'); ?> </div> </div> <div class="form-group row"> <label for="attn_date" class="col-sm-4 col-form-label">To</label> <div class="col-sm-8"> <input…

VIEW QUESTION

An uncaught Exception was encountered Error – PHP

An uncaught Exception was encountered Type: Error Message: Call to a member function num_rows() on bool Filename: C:xampphtdocssikan_v2applicationviewstransactionsalecart_data.php Line Number: 2 Backtrace: File: C:xampphtdocssikan_v2applicationviewstransactionsalesale_form.php Line: 134 Function: view File: C:xampphtdocssikan_v2applicationlibrariesTemplate.php Line: 14 Function: view File: C:xampphtdocssikan_v2applicationcontrollersSale.php Line: 26 Function: load…

VIEW QUESTION

how do i format curlly bracket data in php

i have this type of data store in mysql, how can i echo only the amount value from this? {"1":{"amount":"700","date":"2022-10-31","amount_discount":"0","amount_fine":"0","description":"","collected_by":"John Doe","payment_mode":"Cash","received_by":"12","inv_no":1},"2":{"amount":"300","date":"2022-12-17","description":" Paid by: Jane Doe","amount_discount":0,"amount_fine":"0","payment_mode":"upi","received_by":"23","inv_no":2}} this code looks like json data, if yes then should i be using jquery to…

VIEW QUESTION

Codeigniter v4:Custom View Does Not Return – PHP

I'm using Codeigniter v4 and wanted to show a custom view to users, so I made a Controller named Test: <?php namespace AppControllers; class Test extends BaseController { public function index() { $this->load>model('Usermodel'); $data['users'] = $this->Usermodel->getusers(); return view('custom'); } }…

VIEW QUESTION
Back To Top
Search