All Questions

3
answers

Know the number of the week of a range of dates

I would like to get the number of the week from a range of dates for example if I have: $fechaI = '2017-01-'01'; $fechaF = '2017-01-21'; then it's 3 weeks and I want to save it in a array that is $nSena =[1,2,3]; where 1,2...
asked on 08.09.2017 / 18:43
4
answers

know the number of divs that is out of other

I would like to know How can you get the amount of divs, in this case from the div_principal class, which are not included in the class div_global? In this case you should return value. <div class="div_global"> <div class="div_pri...
asked on 06.01.2016 / 23:33
3
answers

How should I relate two tables

I have a question about how to relate two tables. The problem is I do not know what kind of relationship to create for this example. Bearing in mind that in my FUEL table I have 2 records: IDcombustible | Combustible --------------...
asked on 22.06.2016 / 04:19
1
answer

How to justify a text aligned left or right with CSS?

Hello friends, I have this following code that works correctly, but when I want to justify the text, everything is focused on itself and it is not left and right. Is there any CSS property to justify the text when it is on the right and left?...
asked on 31.05.2017 / 21:40
3
answers

NumberFormatException making parse

I have a method that receives a series of parameters, one of them is a value of type Float and when trying to cast it to a int it gives me failure and cascates the application. The error occurs in the third row of the method, where I decl...
asked on 29.05.2017 / 10:13
2
answers

Can I cancel the sumbit of a form and prevent it from reaching the controller (server)?

I would be interested to know if I can cancel or prevent the button submit from reaching the controller. As before the jquery .click event is executed, you may be able to do something about it and thus prevent it from continuing its execution. T...
asked on 06.04.2016 / 14:38
5
answers

Connection java Postgres in Netbeans

I would like to ask you a question, the truth is that I am new to this, I am a student of programming and I have a small project. I am currently doing a program where you can store the data of people, in NetBeans. My question is: How do I gen...
asked on 07.04.2016 / 20:18
2
answers

3 estates if followed with similar conditions? php

I can not get this headache, I need to meet a condition: if($a == null): <div class="imagen1"> <img src="http://www.juguetessomosnosotros.com/wp-content/uploads/2012/08/rubik_cubemess.png"> </div> endif; if($...
asked on 07.06.2017 / 08:15
1
answer

Search for a string with _ in sql

I have to make a query against a table in a SQL Server 2014 database, the problem is that I have to search for the string _ _ _ (three followed without spaces / strong>, I put it that way because it edits it to me) and since the character _...
asked on 27.06.2017 / 09:56
3
answers

Is it possible to accommodate these objects responsively using bootstrap?

I'm doing this responsive site with bootstrap, but I do not know how to use the grid or the @media to adapt as in the second image. Should I use javascript? <div class="container" style="background-color: #000000">...
asked on 09.07.2017 / 23:14