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...
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>...
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...
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...
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...
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...
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...
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...