All Questions

1
answer

Problem with centering of h1 and nav

I need the h1 and the nav to be centered without spaces between them. <h1 align= center> <img src= Imagenes\header.jpg> </h1> </div> <span class="fuente-1"> <div class="inner"> <nav>...
asked on 13.06.2016 / 20:05
2
answers

How to create displacement to the body so that it is not coarse

How to put the displacement effect on the body so that when we go down with the scrollbar the bottom of the body; Do not go down so rough but find a nice little transition. I have done some research and here are examples of what I need: l...
asked on 14.01.2018 / 00:19
3
answers

get data with linq for a C # chart?

I send it as Data type List to a chart but the data is not displayed, check the method that makes the query and if you return the values, but chart does not load them public void loadDataLinq() { this.chart1.Palette = ChartColorP...
asked on 23.01.2018 / 14:50
2
answers

Memory usage in C

Is it possible to force in C that a variable be stored on the hard disk, instead of RAM? And, how could you get a reading of the memory used in real time, so that a program will abort automatically if it takes too much?  Thanks. Edit (in resp...
asked on 14.02.2018 / 13:10
4
answers

Last-child does not work in css

I'm trying to do a background with last-child and I do not understand very well why it does not apply the style I want. I want the last div containing the child class to have background , how can I do it? SOMETHING IS...
asked on 26.10.2017 / 13:16
1
answer

SQL Check between date range - but a date may be NULL

Good day community. I need to make a query in SQL (Sql Server 2012) to filter by a range of dates (Start Date - Term Date). The table is as follows: DETENTIONS ID ESTADO EQUIPO FECHAINICIO FECHATERMINO The Problem, is that some...
asked on 04.09.2017 / 14:26
5
answers

how can I include a variable inside double quotes

$articulos= $conexion->prepare( 'SELECT SQL_CALC_ROWS * FROM articulos LIMIT $inicio, $postPorPaginas' ); When it's like this inside php, it appears to me as if it were a simple string although I have declared the varible with it...
asked on 23.01.2018 / 19:13
2
answers

compare a chain of javascript

I have an ajax script which goes and queries a mysql DB in a php, if there is a record I return an echo "success"; and if not "without success"; $total = mysql_num_rows(mysql_query("SELECT * FROM dispositivos WHERE serie ='$serial'")); if($tot...
asked on 19.09.2017 / 18:57
3
answers

Why not use if within a cycle for

Hello, my question is this: for (int i = 2; i < n; i++) if (n % i == 0) return false; return true; Given an example like anybody like this where I have a if within a cycle for , the teacher told me:...
asked on 24.01.2018 / 04:19
1
answer

Is it possible to generate JSON from Javascript?

Is there any way to do the JSON encode that is in PHP, but from JavaScript or jQuery? I need to pass an array that I create from JavaScript through an Ajax connection that I send by POST, and then this request is transformed by PHP into a GET...
asked on 21.06.2016 / 11:17