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

(01-12-2021, 09:04 AM)guswie Wrote: image at i.imgur.com/tAQF91W.jpg

I use PHP 7.2 and get message Deprecated  after select Table.
what the php version should we use?
How about upload file in input type, can add upload file please?

change this ajax
submitHandler: function(form) {
                var formData = new FormData(form);
                $(".text-danger").remove();
                $.ajax({
                    url: '<?php echo base_url($controller . '/add'?>',
                    type: 'post',
                    dataType: 'json',
                    data: formData// form.serialize(),
                    mimeType: "multipart/form-data",

on Controler now you  can gate name of file 
and add file name to your data base and you can upload your file on folder aplication
Reply
#12
Thumbs Up 

Assalamualaikum, 
I'm very thanks to the maker of this generator. Very helpful to save my time.  Big Grin
Home us keep Growing.  Wink
Reply




Theme © iAndrew 2016 - Forum software by © MyBB