All Questions

2
answers

Change the id of a Youtube video in HTML

I'm trying to change the id of a video in my html, which is in another javascript file, where the youtube API is created. I also read the ids of a JSON file. HTML <div class="video-container"> <div id="player"> <scri...
asked on 07.05.2016 / 14:37
3
answers

How to connect to the database with postgresql using php?

$dbservername = "localhost"; $dbusername = "postgres"; $dbname = "asistencia"; $dbpassword = "123456"; $puerto = "5432"; $con=pg_connect("host=localhost, dbname=asistencia, user=postgres, $dbname, $dbpassword"); I have previously connected...
asked on 27.07.2018 / 16:08
2
answers

Error in phpmyadmin 'Error: 1231'

When I start phpmyadmin I get the following error: When updating the page it is solved and I can enter the interface, but I would like to take out that error that is annoying every time I enter. Thank you.     
asked on 12.05.2016 / 01:47
1
answer

JSTL appears in HTML

How about! I am doing a small application of Spring (I am learning) and I have found that, when passing as a parameter a List object in sight (JSP), the cycle forEach does not work as it should. Actually if one searches in the HTML the ob...
asked on 02.05.2016 / 16:22
1
answer

What does it mean in sass / scss "&"?

I found this in a sass/scss file of Bootstrap v4 : .nav-pills { .nav-link { @include border-radius($nav-pills-border-radius); &.active, .show > & { /* <-- !!! */ color: $nav-pills-link-active-color;...
asked on 02.10.2017 / 15:26
2
answers

Add or subtract 1 in jquery

I am trying to add or subtract 1 in an input but I do not finish it. the code that I have is this: onclick="$('#StockPagina').val($('#StockPagina').val()+1).change()" this changes the value of the input StockPagina but I add a 1 at the end...
asked on 14.12.2017 / 21:45
2
answers

Voracious Algorithms

I am a student of programming and I would like to know if any of them can give me an idea of how to perform the following problem using voracious algorithms.    Find a good solution to the following problem using a voracious algorithm. Explai...
asked on 25.04.2016 / 03:25
3
answers

what is the best way to not use many if?

I have a combo that is filled with a list, which has 29 elements, and each element by selecting it in the combo displays more fields, then I have the following conditions, what it does is validate which document you selected and render the input...
asked on 12.01.2018 / 16:46
2
answers

Justify-content: right does not place the item on the right

I do not know if I'm complicating my life. All I want is for the part where the percentage with the background color appears, appears aligned to the right, just like the numbers above. I am using display:flex and justify-content:right...
asked on 14.01.2018 / 19:35
3
answers

Doubt with arrays in C ++

I'm working with C ++ and a teacher told us in class that we can not tell an array to measure a variable int array[i]; But for example can I create a constant and tell it to measure a variable to put the constant in the array? #define con...
asked on 31.10.2017 / 19:11