All Questions

1
answer

Myslqi query of two tables with sum of records

Good to have if I can explain everything; I have two tables in the BD: productos +----+----------+--------+ | id | producto | estado | +----+----------+--------+ | | | | | | | | +----+----------+...
asked on 20.08.2018 / 07:08
1
answer

Convert text into a tuple or list (Python)

Hi, I would like to convert a text into a tuple or list. The text got it out of here: import os passwd=os.system("cat /etc/passwd | tail -1") Now that I have the variable passwd with the text I want, how do I convert it into a tuple or list...
asked on 15.08.2018 / 17:05
2
answers

illegal string offset PHP

If you know how I could resolve this, I would appreciate it very much: PROBLEM:    illegal string offset 'index (can be "id" or another cualqiera)' This is coming to me when I try to get information from the database that stores my i...
asked on 18.08.2018 / 17:33
1
answer

Curiosity laravel form with fieldset

I have a little doubt that I would like to solve and the truth on the internet does not leave anything clear. I have a form (in this case where I fail to recover the password), which has all its divs and other necessary elements to validate the...
asked on 20.08.2018 / 14:38
1
answer

Problems with AJAX and PHP

I'm in trouble because I'm passing a couple of parameters from AJAX to PHP but PHP does not collect this data. function ImprimirFichaUsuario(){ var id = $('#idusuarionuevo').val(); var name = $('#nombrenuevo').val(); //Estos aler...
asked on 20.08.2018 / 10:56
1
answer

pdo :: __ construct (): php_network_getaddresses: getaddrinfo failed: name or service not known in

I am uploading my website to the server and when logging in I vote this error. I have a connection page in which I detail all the configuration define('URL', 'https://www.aynii.pe/'); define('APLICATION', 'aplication/'); define('DB_TYPE', 'mys...
asked on 17.08.2018 / 23:36
1
answer

What do I do so that in a stored procedure I can save in two variables with INTO in front of a query that returns one or several columns?

I explain: It turns out that I have a procedure that establishes two integer parameters, which are then arranged to store each the result of a single value that comes from different columns one for each, the select that I have is some...
asked on 17.08.2018 / 19:11
1
answer

Doubt about APIs and Android versions: minSdkVersion

Currently I develop my small applications always in "minSdkVersion 17", which I would swear is the same as the famous API. If I use functions implemented in API 26 for example, would phones with the most outdated operating system be out of my...
asked on 20.06.2018 / 20:41
1
answer

QGridLayout to arrange the elements at the top of the screen

I am using QGridLayout in Pyqt5 to build a window in python. What I want to do is that the elements are not available to occupy the entire width and height of the window, but they are grouped in the upper area of the window. My code is: def __...
asked on 13.08.2018 / 11:30
1
answer

Box-shadow does not work as expected for large values in Safari

I am developing a small library / plugin in JavaScript that serves to highlight different parts of a page (with the intention of creating instructions or similar). But I'm encountering some problems, especially with Safari. For the highlight...
asked on 16.08.2018 / 16:37