Questions tagged as 'variables'

1
answer

Variable step from js to java

I do not know how to catch a variable declared in javascript, from a java class. Any suggestions? var ratiosObj = {ratios:[{idRatio:1,Descripcion:"HoraMaxima",horas:10,Descuento:5}]}; var fila = 2; var horas = "horas"; var horasFin; var pre...
asked by 06.04.2017 / 13:05
1
answer

Managing the value of a variable among several functions in Kivy project

Be the following layout of my app: I am looking for when the "Successful question" button is clicked, the variable score = 10 and when the "Failed question" button is clicked, the variable score = -5 For both cases, the purple label also show...
asked by 19.04.2017 / 22:45
1
answer

C ++ POO The variable is not displayed correctly

I am doing a program of collection and payment of basic services in codeblocks This is my code: #include <iostream> #include <cstdlib> using namespace std; class base { private: //bienvenido char nick[30]; //p...
asked by 02.12.2016 / 19:00
1
answer

how can I add an if with a button

hi I try to change the value with a button that is already predetermined, I've been trying with an if and with a function of some condition suggène <html> <head> <meta charset="UTF-8"/> <title>prueba<...
asked by 02.01.2019 / 22:45
2
answers

Download File using PHP

I want to download a server image using PHP. Specifications: I do not want to use javascript and I do not want to pass the database by name and then retrieve it. The image I want to download is a QR code that I generated and saved in a...
asked by 15.11.2018 / 20:07
1
answer

When I make a query within a function to assign the result to a variable, if the query does not return anything, does it save a null value?

SELECT c.horas_aportadas INTO horas_aportadas_coordinador FROM voluntario c WHERE new.id_coordinador = c.nro_voluntario; In that code, the id_coordinador is an attribute that can be null, so if it is then the query does not return anyth...
asked by 20.10.2018 / 19:11
2
answers

Store JavaScript variable within a PHP variable

The next problem is that when a person selects an option of a select, the value of that chosen option is obtained and stored within a php variable. Here I get the Id of the selected option. It occurs to me, for example, to use done or suc...
asked by 11.10.2018 / 03:57
0
answers

Place a field loaded from a View into another View laravel 5.6

I require Good I need to pass the name of the company from this table when pressing see / edit , I know it's something simple but for those of us who are learning it is a whole crusade if you could please guide me, I would appreciate it....
asked by 19.09.2018 / 21:19
0
answers

Problem to pass values by URL (GET) in PHP

I try to do the following: From a query, I create a table, to which at an option, I am adding a link to print a pdf, $indices .= '<tr> <td>' .$row[id_presupuesto]. '</td> <td>'...
asked by 05.09.2018 / 20:01
0
answers

Take the value out of an input id

I am passing data from a table to a modal to edit it, all this happened: So I send it to the modal: <td class="otrotdfgaz" id="Producto<?php echo $res['pedID']; ?>"><?php echo $res['producto']; ?> <?php echo $res['ali...
asked by 29.08.2018 / 11:18