All Questions

5
answers

Add time in PHP array

I am saving the time in the database with a field of type time . I'm going through an array of data and I want to be able to add them. I have the following method: <?php sumaHoras = 0; ?> <?php while ($row = mysqli_fetch_as...
asked on 31.08.2018 / 22:43
3
answers

Put blank space every 20 rows in an html table

Is there any way to put a blank space in a table every X rows? I do not care if it's with css, with jquery or whatever. This is what the page generates, and the space I want to put in the red box. Pages are created as needed and create...
asked on 29.12.2016 / 22:00
5
answers

Playing with JavaScript String

Hello, I need a little advice on this, it turns out that I have this chain var timestamp = 20160525083000 then I want to divide it and try and what I need is that in the end I have two variables left var1= 25-05-2016 and var2= 08:30...
asked on 14.03.2018 / 15:29
3
answers

What is the difference between rand and srand?

I would like if you could explain to me what the difference is, I am very confused with rand and srand, what is the difference? I've searched elsewhere, but I confuse more. Thanks.     
asked on 22.07.2018 / 02:52
2
answers

Matrix as an attribute?

I am trying to create a board, with different dimensions, that is, 3 x 3, 4 x 4 and 5 x 5 The problem is that I do not know if the part of the attributes of my board class is well declared. Can you tell me if it's okay? On the other hand, I w...
asked on 15.10.2018 / 02:24
2
answers

CSS selector for element without class?

Inside DIV elements there are 3 SPAN, 2 with some CSS CLASS and another WITHOUT CLASS. How to select CSS with selectors that has NO CLASS, I tried span: not (.AAA) but I can not put both classes because it does not work. Since classless SPANs ca...
asked on 09.11.2018 / 09:16
2
answers

Request more than 10 data without using so many variables

I just started with this world of Python and I'm doing personal sample software. But I need to ask for too much data. EXAMPLE: dato1 = float(input("Dígame su peso en kg: ")) dato2 = float(input("Dígame su peso en kg: ")) dato5 = float(in...
asked on 22.04.2018 / 01:01
2
answers

Convert from Hex String to Unsigned Char Array in C ++

I need to convert a string of string characters to an unsigned char array in this way: string hex_str_texto = "0A4F1B3D5EEF354A"; unsigned char uchar_texto[80]; Exit: uchar_texto[0] = 0x0A //Primeros dos elementos del string uchar_texto[...
asked on 12.09.2018 / 19:32
4
answers

How do I get the value true or false in the esVocal () method? Java POO

I defined the class Letter that has an attribute of type char. Develop a method called esVocal() that returns true or false as appropriate. My doubt is that the esVocal() method was not done well, because here I have to use...
asked on 31.10.2018 / 00:23
5
answers

How to serialize C # objects to a JSON or XML file

I am working with a hospital system and I would like to know how I could export the information of my objects to files with a readable format such as JSON or XML , to be used as input to another program that processes them. These...
asked on 10.02.2016 / 23:36