All Questions

1
answer

Pass a variable to the controller from AJAX in CodeIgniter

I have the following problem, in a view I get the data of a user through a foreach and one of them is the code, which through a link, I execute a function that passed the same code as parameter: <a href="" onclick="cargarID(<?=$f...
asked on 21.12.2016 / 14:00
1
answer

In operations on an array, it shows an incorrect result after the first row of the array

Why when calling the functions that multiply and divide each of the elements of the rows of an array, it only shows me the first multiplication of the first row of the array, and the other results show them as equal to zero? #include <stdio...
asked on 21.12.2016 / 02:33
2
answers

How to optimize the validations in a registration form?

I am making a registration form on android, I use several if blocks to validate each field and then insert the information into a database (I have solved this already), I would like to know if there is any way to optimize or improve my code. p...
asked on 10.02.2017 / 08:13
1
answer

I can not access TabHost content

This time I have a problem with a TabHost that I created and initialized, it has 3 tabs, it turns out that the contents of the first 2 tabs I can not position the focus by clicking on their EditText let alone click on the buttons t...
asked on 13.02.2017 / 14:50
1
answer

How to center up to 200 characters of text when printing in php

I am learning php and I need to modify the printing of some tickets in an application of my work. I have managed to work correctly but I have a problem. A legend field2 has been added, which is a variable description, from 1 to 200 characters...
asked on 16.02.2017 / 16:10
3
answers

How to reload data table when closing a modal?

I use datatable to list some data brought from a database which I have a button to edit, that when I press it shows me a modal window, which I look for the form that was just updated that table is updated without having to reload the page...
asked on 14.02.2017 / 22:48
2
answers

Save a key in the NDK

Reading about the best way to save an api key on Android, I came to the conclusion that a good way would be to save it using C ++ on the NDK. To hide a key in the NDK would be something like this: #include <string.h> #include...
asked on 12.02.2017 / 18:44
2
answers

Generate .apk file from Eclipse

Do you know if it is possible to generate the .apk executable from android to upload to the Play Store, from eclipse, having the java source code?     
asked on 10.02.2017 / 11:20
1
answer

F1 JavaHelp key

In any program or application, most of the times when pressing the F1 key, a help system is opened referring to that utility. I am in my project and I have created a help system, which should be opened by pressing F1 but not ... 1) Fail to pr...
asked on 08.01.2017 / 21:11
2
answers

Execute .exe in PHP

I have an application which should run a .exe that starts the execution of a scanner . The executable I have in unit C but I can not find any way to execute it.     
asked on 10.01.2017 / 18:57