All Questions

2
answers

Modify variables from one form to another

I have a problem and when I modify a tag or tag of a parent form tag from a child form, when I close the child form, the variable or tag of the parent form goes to the previous value, as if it were not I had modified. What I do is call the co...
asked on 12.07.2018 / 09:08
1
answer

Show number of numerators = 3 in a struct

I have the following program in C the user enters numerators and denominators in an integer struct and the number of numerators with value "3" must be displayed: #include <iostream> #include <stdio.h> #include <stdlib.h>...
asked on 10.07.2018 / 06:11
2
answers

How to discount the days of the weekend

I have the following code where I count the differences of days, but I want to discount the weekends <?php $datetime1 = new DateTime($machine->fechasolicitud); $datetime2 = new DateTime($machine->fecha); $interval = $datetime1->dif...
asked on 12.07.2018 / 14:26
2
answers

How to assign a HotKey with JQuery to a button

This is the code of my button in HTML with CSS I would like to use JS to assign it instead of clicking for example a F7 or F8 or any combination of keys with jQuery . <div class="form-group"> <button type="submit" class="bt...
asked on 16.07.2018 / 21:30
1
answer

Transparency in the background but not in the text

This is my code: .a { /*BOTONES NORMALES*/ color: black; background-color: white; font-size: 150%; font-family: Oswald; opacity: 0.3; filter: alpha(opacity=30); } <a class="btn a" href="menu">MENU</a>...
asked on 03.08.2018 / 19:43
1
answer

How can I replace $ _SESSION with a prepared query?

Well here with a doubt, I currently have querys where I ask for information and at the end a clause WHERE where I ask for that information about the id of the current session, that is only the active user at that moment, and I want to ado...
asked on 01.08.2018 / 02:10
2
answers

Error adding two WHERE conditions in a MySQLi consula?

I want to show data using two conditions WHERE , questions by categories and that these questions are enabled to the public. I do the following: $categoria = "categoria_uno"; $habilitado = "1"; $stmt = $conexion->prepare("SELECT id...
asked on 04.08.2018 / 16:26
2
answers

Discriminate data according to two attributes

I have the following arrangement: let arreglo=[{'class':1,'var':1, 'valor':50}, {'class':3,'var':2, 'valor':150}, {'class':1,'var':2, 'valor':200}, {'class':1,'var':1, 'valor':60}, {'class':3,'va...
asked on 22.07.2018 / 06:34
1
answer

filter datatable by date range

I have this datatable: $(document).ready(function() { $("#Date_search").val(""); }); var table = $('#tabla').DataTable( { deferRender: true, "autoWidth": false, "search": { "regex": true, "caseInsensiti...
asked on 03.08.2018 / 08:53
1
answer

Why do you round my decimals? Problem with two-dimensional arrangement C

I am starting in the art of programming, and I am working on an exercise to show the inverse of a matrix. The inverse matrix is defined as a double array, and I am using the algorithm for cofactors. The problem is when I show the matrix on the...
asked on 29.07.2018 / 22:24