Questions tagged as 'codeigniter'

1
answer

ERROR: Type: ArgumentCountError, Too few arguments to function

It happens that I am showing some data from my Database through some Foreach, in which I am using echo to show the value of each field that I require. So far I have used in my query sql, in the WHERE condition any value that throws a result to s...
asked by 10.10.2017 / 23:00
1
answer

loading with ajax in codeigniter while running SQL Server job

I'll tell you, I've been developing a PHP platform with codeigniter 3.0, I'm connected to a local SQL Server database, in which I have a job called Automatic. This job is executed using the function of the model "execute_job": CONTROLLER pu...
asked by 10.10.2017 / 18:52
2
answers

Problem Array to String Conversion

I have a class for Codeigniter with a property $keywords that I want to assign with the function set_keywords() class Seo { private $keywords = array(); public function set_keywords($keywords) { $thi...
asked by 04.01.2018 / 04:29
4
answers

Show Data using keyup (Does not work)

I need that when writing in an input of type text, if what I wrote corresponds to a value of the database, the result, which in this case would be the name of a student, is shown in another input of type text . I am entering the data in a modal,...
asked by 25.09.2017 / 23:00
1
answer

Create PHP background process

I am setting up a Web application with Codeigniter in which a section must execute a process that takes a long time to finish, approximately 40 min. The process works fine, when executing it outside the application. However, when it was execu...
asked by 12.10.2017 / 16:48
2
answers

Text ordering

In a form I have a textarea at the time of entering data the income of the following form. But when I call it from the database it pulls me like a line Is there any way to get it sorted out as you entered it at the beginning? I'm usi...
asked by 28.09.2017 / 18:29
1
answer

Attach image to mail Codeigniter

I am trying to attach several images to the body of an email, however when the mail arrives the same image is shown on the body. This is the script I'm using to scan the array images. foreach ($attachment as $key => $value) { $in...
asked by 29.08.2017 / 18:17
2
answers

Pass JSON result to a table

I have the following code function pres(m,s,p) { peticionDatos( '<?php echo base_url(); ?>index.php/nombres/ejemplo/datos', {m:m, s:s, p:p}, function(){mostrarCuadroProceso(0);}, function(datos){ console.lo...
asked by 04.08.2017 / 20:32
1
answer

Reload my AJAX table

I am trying to make a table update automatically, by calling AJAX , for example when I change the range of dates these are sent to a model that executes a function and takes the parameters and performs the query. The problem here is tha...
asked by 20.07.2017 / 21:07
1
answer

about bootstrap and codeigniter

I have a question with bootstrap look and I have come to do a project with codeigniter and bootstrap the problem that I have is that I do not recognize the bootstrap at the time of executing <!DOCTYPE html> <html lang="es"> <hea...
asked by 15.07.2017 / 05:08