Questions tagged as 'variables'

1
answer

assign a variable an array

I have the following problem I hope you can help me I have a page that will show me a user's qualifications that I started session, but I think I am wrongly assigning the variable to a session variable ie $ ticket = $ _ SESSION, I do not know if...
asked by 23.06.2017 / 02:11
1
answer

Pass username between classes

I need to pass the content of the object that has the username between different classes ... I tried it with an intent but it does not work for me User login class. public class Login extends AppCompatActivity implements View.OnClickListe...
asked by 19.06.2017 / 13:14
1
answer

PHP Linux path does not work

Very good, I want to change some routes from windows to Linux, to do verifications, and in Widnows I have these that work: $BACKUP_PATH = "C:\\xampp\\htdocs\\deimos\\vista\\backup\\backup_"; $nowtimename = date('Y-m-d',time()); $fileName = $BA...
asked by 12.06.2017 / 10:01
1
answer

Problem with Javascript and textarea

Good evening everyone, I have a small problem with the insertion of data via Javascript and textarea, I explain. I have created a modal which has content to register for a training, the issue is that the user to register must necessarily p...
asked by 20.02.2017 / 22:24
0
answers

Problems with webclient.downloadfile and variable

Good morning. I would like to see the possibility to help me with a problem I have with webclient.downloadfile. It happens that I need to download a PDF file from another server connected internally to my asp server, the problem occurs when the...
asked by 09.02.2017 / 13:36
2
answers

Problems with the value of a variable

I've done this code but the element inspector tells me that boton is set, the exact error is this:    Uncaught typeerror: Can not read property onclick of undefined. The point is that when I paste the code in the element inspector...
asked by 25.02.2017 / 09:32
1
answer

I need the variable xCount not reset to 0, eg when I rotate the screen

public class MainActivity extends AppCompatActivity { // defino variables de botones y texto ImageButton imgButtonUp; ImageButton imgButtonDw; ImageButton imgButtonRes; ImageButton imgButtonInfo; T...
asked by 21.07.2016 / 01:14
2
answers

Empty a cookie when logging

Good morning, how can I empty a cookie when logging? I was doing tests with unset but I did not empty the cookie. Cookie that is in the index.php and opens a welcome modal <script> function getCookie(c_name){ var c_value = do...
asked by 03.10.2018 / 07:24
1
answer

Problems with C # variables

I would like to know if it is possible to update or refresh (or something like that) a variable, without assigning new values. For example. I declare a vector and give it values, then declare a variable. N contains a formula. vector [0] = 2; vec...
asked by 21.07.2018 / 16:43
2
answers

PHP does not recognize the auxiliary variables

Good, the problem I have is the following: In an exercise I am forced to use only if-else to know which of the three numbers is the major / minor. The error is that I do not pick up the auxiliary variables, and I do not know why: My code:...
asked by 20.10.2016 / 23:48