Welcome Guest, Not a member yet? Register   Sign In
ADEL Codeigniter 4 CRUD generator
#7

(This post was last modified: 02-15-2021, 06:00 AM by gondeaz13.)

the edit function in view where
function edit(id) {
$.ajax({
url: '<?php echo base_url($controller.'/getOne') ?>',
type: 'post',
data: {
id: id
},

is not working, any solution?

edit: solved
replace missing placeholdername in /mvc_templates/en_Controler.tpl.php
change
67: $data = $this->sourcesModel->where('@@@[email protected]@@' ,$id)->first();
to
67: $data = $this->@@@[email protected]@@->where('@@@[email protected]@@' ,$id)->first();
Reply


Messages In This Thread
ADEL Codeigniter 4 CRUD generator - by adelbak - 10-29-2020, 12:18 PM
RE: ADEL Codeigniter 4 CRUD generator - by guswie - 01-12-2021, 09:04 AM
RE: ADEL Codeigniter 4 CRUD generator - by gondeaz13 - 02-15-2021, 05:23 AM
RE: ADEL Codeigniter 4 CRUD generator - by khan64 - 06-27-2021, 01:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB