All Questions

1
answer

Database (My SQL), SQL commands

Basically, through which command, I could calculate the party that gets the most votes, I know that we have to use the Count and MAX command, but when using it at the same time it gives me an error. I leave the command you make and I get an erro...
asked on 24.11.2017 / 20:57
1
answer

UITable type Accordion IOs Swift 4

I have the following UITable @IBOutlet weak var resultsTableView: UITableView! let sectionTitles = [NSLocalizedString("movementsPayTitle",comment:""), NSLocalizedString("movementsCollectTitle",comment:"")] func getCell(cell: QueryPayme...
asked on 30.04.2018 / 19:22
1
answer

Build associative array with txt lines

Hi, I have a txt that has the following structure [HEADER] 7894=12.01 1124=456 2234=1.0 2222=2.3 [DATAOUT] 1235=7 1006=10.0 1007=10 [ENDOFFILE] I'm reading it from PHP like this: $archivo = fopen('archivo.txt','r'); $data_archivo=array();...
asked on 27.04.2018 / 20:47
1
answer

Create administrator in cakephp

Good morning, I have a problem, the administrator user thinks, but the page does not work for me, here are the codes: These codes are copied from the cake book 2.x If I do this, it goes well: App::uses('Controller', 'Controller'); cl...
asked on 27.04.2018 / 15:14
4
answers

It does not compare well the string (I think). Java CompareTo ()

Well, I have a problem and I do not understand why it does not compare well the value of the string. I would appreciate all the help possible. By not sharing well the "numbers" (passed as string). the final string is larger than a long and gives...
asked on 24.11.2017 / 12:50
2
answers

How can I replace the NULL with a text string in a query in sql?

SELECT MONTH(pag_fecha) AS Mes, SUM(pag_importe) AS Ingresos FROM PAGO GROUP BY MONTH(pag_fecha) WITH ROLLUP I would like instead of NULL to get me "Total income" I already tried it with a CASE but I want to know if there was a simple...
asked on 30.04.2018 / 02:51
2
answers

How do I install angle 4?

I need to create a project in angle 4 but when I create it it does it with angle 5. How can I create the project in angle 4?     
asked on 25.04.2018 / 02:45
1
answer

Stored procedure in LinQ c #

Hello developers good day, I am with a problem it turns out that my project does not have to have any stored procedure in SQLServer and they asked me to do everything from linQ the issue is that I have not found how to create the...
asked on 25.04.2018 / 16:02
1
answer

Replace characters of a string in python using Lists

Good! I try to make my script go through a string and replace each character with another string using lists to be able to change each of the characters in a simpler way, but when going through my list it does not replace them beca...
asked on 27.11.2017 / 01:22
2
answers

Fill a html table from Javascript dynamically

I have this div in my HTML:        Changes made:    and I'm going through a Javascript object, and I want to add some rows with the content of the Object, which is dynamic, the code I have is the following: function pedirDatosTexto(...
asked on 28.04.2018 / 10:59