Questions tagged as 'variables'

2
answers

Show all active PHP variables

I need to know if any php function shows me all the variables that are defined on the screen. I'm doing an integration where I depend on other files that I do not have access to and I need to show all the variables I can access Thanks in a...
asked by 22.06.2016 / 09:09
1
answer

How to use global variables in python

I'm trying to keep the value read in a webhook in the following webhook but the variable that takes the value does not keep it in the next webhook. from flask import Flask from flask import request import os from threading import Thread app =...
asked by 12.06.2017 / 18:43
3
answers

How to access global variables in python

I have been developing this project for some time, I only had it in a single file and when I modularized it I had problems compiling the type "global name 'file' is not defined", where file is a global variable. I have a file "main" which is the...
asked by 11.04.2018 / 08:10
1
answer

variables of an array with the same name

I have 2 arrays in Java with different Array names (sender and recipient), but the variables within the arrays are the same (account_number, product_id, external_id, simulation, recipient_sms_notification, sender_sms_notification), when declarin...
asked by 11.05.2016 / 17:52
1
answer

Define variables with recurring names in Compass (SASS)

I need to define 100 variables which are composed of a prefix and the number such that: $negro_trans1 : rgba(0,0,0,.01); $negro_trans2 : rgba(0,0,0,.02); $negro_trans3 : rgba(0,0,0,.03); $negro_trans4 : rgba(0,0,0,.04); $negro_trans5 : rgba(...
asked by 04.12.2018 / 14:01
3
answers

Validate a variable with a field from my bd

I am developing a Web page, which has corresponding users to cities, to be more precise it is built in the following way (and it is done in Postgres) USER ┌────────────┬───────────┐ │ cv_usuario │ Password │ ├────────────┼───────────┤ │...
asked by 01.03.2018 / 21:05
2
answers

Problem when printing variables in structure

In case 2 I try to print the variables, but it shows me wrong values I tried to do it in a function and the same thing happened, with pointers and neither did the program in the enter function does everything right try to print from it and It sh...
asked by 25.10.2018 / 22:53
2
answers

Send a variable from PHP to HTML?

I have a problem. I need to send a variable of a file in PHP on my site1, to an html file on my site2. this is the code that I have so far PHP site1 = header ('Location: https://www.sitio2.xyz/ads/ad1/ad'.$variable.'.html'); this...
asked by 05.09.2018 / 14:21
3
answers

evaluate multiple variables in a if [closed] statement

I've been developing a program to find passwords in a game called keep talking and nobody explodes, in which one of the challenges is to find the correct 5-letter password from a list of passwords. To solve it you are given 6 possible letters fo...
asked by 27.07.2018 / 22:57
3
answers

Simplify a Javascript Switch

I have the following code: switch (az) { case 0: var azul = "Nivel de Riesgo: [0] Sin Riesgo"; break; case 1: var azul = "Nivel de Riesgo: [1] Poco Peligroso"; break; case 2: var azul = "Nivel de...
asked by 21.03.2018 / 03:46