All Questions

4
answers

Collect text with special characters from a form and insert them into a database

I would like to collect a text with special characters ('´ñ) of a form in html . This will change to codigo.php that will be responsible for inserting it into a database MySQL . The fact is that I have tried a thousa...
asked on 26.05.2017 / 12:33
2
answers

Know which date is higher in Javascript

I have 2 dates, one start and one end, I try to avoid that the start is greater than the end, apart from that I can not do it, I get rare years, days that are not ... etc. console.log("start ", m , d , y);...
asked on 07.11.2018 / 10:30
3
answers

Custom commands in Linux [closed]

I want to create a custom command in linux, but I want to use another command within it, in this case I want to create a command that shows me the version of angular, help please.     
asked on 06.11.2018 / 14:53
2
answers

problems reading ajax array

What am I doing wrong? I am making a ajax request that returns me as callback this type of array or object [{"nombre":"Kabul"},{"nombre":"Qandahar"},{"nombre":"Herat"},{"nombre":"Mazar-e-Sharif"},{"nombre":"Otra"}] At the time o...
asked on 01.11.2018 / 00:41
2
answers

Kivy: Display a text saved in a variable

based on the example of this question I want to make a program that shows me a text saved in a variable, "g". There goes the code: # config from kivy.config import Config Config.set('kivy', 'keyboard_mode', 'system') #¿Para qué sirve esta lí...
asked on 15.04.2017 / 19:16
2
answers

Conditional on SUM (mysql)

I have the table factura_habitaciones , where you enter the room reservations that I will later invoice. I want to calculate the total of all the records in the table with a single sentence in MySQL considering that the days multipl...
asked on 28.10.2018 / 12:32
3
answers

Validation field input text - You must only accept numbers - Javascript

A field input in a form: <td align=right>Cod.Postal:</td><td align=left><input type="text" name="codigo" id="idcodigo" maxlength="5"></td> It should be possible to write only numbers (0-9). window....
asked on 16.05.2017 / 14:04
2
answers

delete repeated values sql server

I have a problem in a sql server query ... I have this table where I need to delete repeated values (those marked in blue) due to the last column ('hh''mm') and try the DISTINCT but even so he shows them to me I do not know if I made my...
asked on 26.10.2018 / 18:46
3
answers

Paint rows in the table

I want to paint some rows of the table, is it possible to do this? I mean to put a condition for it to be painted: if(Object.values(totalDatos[j])[i].tipoUser=='verdadero' html += "<td if(Object.values(totalDatos[j])[i].tip...
asked on 22.11.2018 / 14:19
1
answer

Get a record that is only once in the SQL table

I honestly do not know how to get the records that are only once from a table. for example I have the following table: identificacion atestado 1111 a 1111 b 2222 a 2222 b 3333 a 4444...
asked on 22.10.2018 / 15:29