All Questions

1
answer

How do I add a query within a CASE in mysql?

I have the following query : select 'preguntas'.'tipo', 'preguntas'.'puntaje', 'preguntas'.'descrip', 'preguntas'.'numero', 'preguntas'.'v_f', 'preguntas'.'seleccion', 'preguntas'.'desarrollo', CASE 'preguntas'.'tipo' WHEN 2 THE...
asked on 06.07.2017 / 04:25
1
answer

Show image according to variable greater or less than

Hello friends, let me explain, I make a query to get the scores when a user in 4 stages must acquire a number greater than 69 points, the idea is to show an image according to the score is greater or less than 69 points. If the user does not...
asked on 28.07.2017 / 04:29
2
answers

IF conditional in PHP

I know that as such, in HTML you can not use the conditional if, but with PHP you can integrate perfectly. What I'm looking for is that instead of doing the conditional completely in PHP: <?php if (condicion) { echo "<p>hola<...
asked on 07.06.2017 / 09:22
1
answer

Detect DOCTRINE date collisions

I have a table TAREAS formed in the following way: +--------+------------+---------------------+---------------------+ | id | informe_id | inicio | fin | +--------+------------+---------------------+----...
asked on 20.07.2017 / 08:59
4
answers

AJAX does not send data to PHP

is my first time using AJAX, for more examples that I put into practice, I can not make AJAX send PHP a variable, instead if it communicates with the PHP file, but when I give alert(data); I get the html from my page .php, instead of show...
asked on 20.07.2017 / 15:51
1
answer

How to rename columns of a sql table using a query

Even if you miss an error, make the changes. The question is simple, instead of modifying the table from the designer, I want to do it from a query. I have found how to modify the type, the description ... except the name! I have tried...
asked on 07.07.2017 / 07:23
1
answer

Know the position of an element with respect to the scroll [duplicated]

How can I know when the position of an element is scrolled with respect to the position of the scroll? This is what I have tried so far: const elements = []; for(i = 0; i <= 8; i++) { elements.push(document.getElementById('p...
asked on 19.07.2017 / 18:44
3
answers

C #, 3 Layers, Windows Forms - Improve Performance

I need to fill out a datagridview with more than 7,000 records that I get through a method that returns a generic list of objects. My problem is that when I assign it to datagriview.DataSource = LN.ObtainAll () positions; through the load method...
asked on 16.07.2017 / 18:08
2
answers

Display a dropdown within the page

I have a table with a dropdown in each row with actions. The problem I have is that in the last rows when pressing the dropdown I have to scrolle the table down to see the options. They do not appear directly to me. I think it's some conf...
asked on 29.07.2017 / 01:32
2
answers

Show Pop Up of an image

My question in itself is how to make an image appear every time an html page is loaded, attached code and example image: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <b...
asked on 31.07.2017 / 14:46