All Questions

3
answers

Query about PHPMAILER

I wanted to know if the PHP setup I'm doing for the submission in a form is well-armed. From what I read in the documentation I have to download two PHP files, the Class.phpmailer.php and the SMTP.php and link them the way I'm doing with a requi...
asked on 16.11.2018 / 20:45
1
answer

document.getElementById does not assign the id to the variable and it is null

I'm doing a modal with the following html <button id="btnModal">Ver</button><!--class="button"-- sacamos esto del button--> <div id="simpleModal" class="modal"> <div class="modal-content">...
asked on 13.12.2018 / 10:56
1
answer

difference between object.property vs. object [property]

/* property01.js define propiedades de un objeto */ var o = {a:1, b:2, c:3, d: 4}; for (var i in o) { console.log('o[' + i + ']: ' + o[i]); console.log('o.' + i + ': ' + o.i); } /* salida o[a]: 1 o.a: undefined o[...
asked on 05.12.2018 / 23:04
1
answer

How to add a new column to a data frame?

Hello, does anyone know how to add a new column to a data frame? DF <- data.frame (predictor=c ("a", "a", "b", "b"), respuesta=c (13.5, 0, 2.6, 4.1))     
asked on 22.11.2018 / 20:18
1
answer

Problem using .clone () and select

I am passing elements from one section to another, the big problem I have, is that when cloning it does not save the option selected, simple example to understand me: <div id="content"> <div class="copy"> <select>...
asked on 29.11.2018 / 03:47
3
answers

How to make this google script work in several ranges?

I have done a script of google sheet that writes me the modification date of a specific range of cells and now I want to make it detect the cell that I am modifying and detect if it is within a few ranges concrete. This is the scrip...
asked on 30.11.2018 / 07:24
2
answers

Problem CORS in Angular 2 and PHP

I have a REST server for queries to a database running in PHP , which via GET can be consulted several data in JSON >. Previously there was a client on another server written in Javascript + JQuery , so I needed to use CORS to conne...
asked on 14.08.2017 / 17:17
1
answer

Repeated results in C ++

I have created a code in which I register a certain number of soccer players and at the end they print their data, but these are repeated according to the last registered player. This is my code: #include <iostream> #include <cstdlib&...
asked on 26.11.2018 / 03:26
2
answers

How to recover an erased branch of git?

I just deleted a git branch. For example: mkdir test cd test git init echo "Viva yo" > test.txt git add . git commit -m "test" git checkout -b rama echo "Viva tu" > test2.txt git add . git commit -m "test2" git checkout master git branc...
asked on 20.09.2017 / 11:24
1
answer

How do I download image contained in PictureBox with database in C #?

I have a question that I can not solve and I am looking for your help ... I comment, I have a datagrid which has a column type image in which I use as a preview of my image that is loaded from a database. Often I have a button type column...
asked on 07.12.2018 / 23:00