Questions tagged as 'codeigniter'

1
answer

PHP - CodeIgniter How to pass variables to 2 view but load only one of them?

Currently the arrays (variables) sent them correctly to a view, but it turns out that this is a modal and I want the variables to also reach the main view (this second one without loading it, only that they are stored temporarily in it). Here...
asked by 20.10.2017 / 17:15
0
answers

My photos are lost with the paginator

When loading the page it works well it shows me the images but if I put the following one in the paginator the images are lost I have the doubt to that this is due. It works well At the moment of clicking the next pager or the number is lost....
asked by 04.10.2017 / 21:56
1
answer

Send Email after Insert Codeigniter

I am saving the data you sent using a form through Ajax, the data is saved correctly, but it does not send the email, because it probably does not detect the values, I am passing the data to the model by means of an array, not if that is where t...
asked by 07.10.2017 / 16:41
0
answers

Filter fullcalendar events

I need to filter the events that are shown on the screen by means of a select, that when selecting a value, in this case one of the career leaders, only shows the events belonging to that career leader, for which I am using .change of javascript...
asked by 02.10.2017 / 21:40
0
answers

Combo box dependent does not load when editing and the name of the photo is not recovered in its field

My combo box when adding new record works well its dependency but when editing it does not load the subcategory or the second combo, it remains empty and if I keep it that way it keeps me null the value, the only way to activate or to select aga...
asked by 21.09.2017 / 16:19
1
answer

concatenate three fields in listbox

I tried to show the list of users in a listbox, but I have not managed to make it work. If I just want to show a field like the name, it works fine, but I need to show the name and the two surnames. <?php class mHorarios extends CI_Model...
asked by 12.09.2017 / 14:35
1
answer

Why do not you save the data? FormData ()

I am trying to save the data of an excel, using a file-type input to select it, I recently managed to do it without ajax, and it turned out well; However, I have not been able to do it using Ajax. When I researched, I read that to send data from...
asked by 20.09.2017 / 03:59
3
answers

Footer does not occupy all the width of despite being the width in 100vh and it is superimposed on the body

I have the following dilemma with my footer and body. It happens that, I am developing the following views but in a certain view (register user) my footer covers part of the body and also does not occupy 100% of the width, if not, like 98%. I us...
asked by 14.09.2017 / 19:19
0
answers

Problem with While mysqli_fetch_array

I have the following problem, I do not know how to do a while in codeigniter for the following example (this was done in object-oriented php, in a class, and I called it in a listboxt in the design) function lista_sucursales(){ $opciones="";...
asked by 11.09.2017 / 23:10
0
answers

Codeigniter read session value from a controller in the view - Percentage of progress

I have the following code in a view: function getstatus(){ base_url = '<?=base_url()?>'; var percentage; $.ajax({ url: base_url+"teleinforme/getstatus", type: "POST", dataType: 'json', succes...
asked by 16.11.2017 / 19:45