All Questions

2
answers

I get an error in the code

In the code that is inside the if it does not work but when I take it out and put the code in the console it works, someone who can help me there:     
asked on 22.09.2018 / 06:43
1
answer

traversing multidimensional associative array in PHP

I have a multidimensional associative array and I can not find the way to go through it, being each of the values accessible: $paises = ['espanya' => $espanya, 'usa' => "$", 'brasil' => "R$", 'canada' => "C$", 'colombia' => "COP...
asked on 13.04.2017 / 11:33
1
answer

Add an AND in the SI function in Excel

I need to create a function in which I say: SI porcentaje_cruce >= 80 Y Claificación_final >= 50% entonces 2000 si no es 0.     
asked on 04.10.2018 / 14:39
1
answer

Why is the download of an excel file forced?

I am trying to show an excel file, but this one instead of showing what it does is download it at once. Thus I try to show the file public function ari(){ $file = storage_path() . '\app\excel\formulario ORIGINAL ARI.xlsx'; $heade...
asked on 24.09.2018 / 16:41
4
answers

Run one button only once

Hello friend, I would like to execute a button only once and that you can not click OK again <div class="modal-footer"> <button type="button" class="btn btn-default" id="btnCancelarPreviewFlashReport...
asked on 26.09.2018 / 16:47
2
answers

R: change the colors of a DCA

From this file: https://drive.google.com/open?id=1jmZG-nyt707AhHZSSl4dHLIxK0nZ5qyX and these packages library(vegan) library(reshape2) And taking this code to make this graph, I would like to know how I can change the co...
asked on 04.10.2018 / 14:38
2
answers

Array problems with localStorage

var x2=x1+c; var x2i=x2.toFixed(2); var y2=y1+ci; var y2i=y2.toFixed(2);//52.23 var arrayX2=new Array(); arrayX2.push(y2i); var arrayX2=new Array(); arrayX2.push(y2i); By entering the element the array alert gives me 1 (CORRECT) alert(arrayX...
asked on 26.09.2018 / 09:33
1
answer

Reading of strings in C

I have a question regarding the reading of strings in C. I wrote this code and they corrected me the part where the text string is read. I previously had this written: scanf("%10000[^\n]\n",texto); and I think I did not really understand th...
asked on 03.10.2018 / 15:05
1
answer

How to calculate between two dates?

I have to do an exercise to calculate how much has happened since January 1 to the date entered. They force me to use switch case and I can not use the function mktime() , and I do not finish working the code that subtracts the dates. The...
asked on 24.10.2016 / 22:43
4
answers

PHP does not show me the errors in form

Good morning, I am creating a form in HTML and PHP, and when sending it I want you to show me an error message if any of the fields does not meet the requirement. My problem is that it only stays in the first field name if I give Send if fill no...
asked on 20.10.2016 / 16:35