All Questions

1
answer

SQL Server query: How to get a single record, from an inner join

I have the following tables, I would like to obtain the result which I mention in the example. I hope you can guide me a little. Thanks. Tabla: TR | idt | vt | ------------- | 1 | 1101 | | 2 | 1102 | | 3 | 1103 | ------------- Tabla TE...
asked on 23.11.2018 / 19:43
1
answer

Error in a List

Family my app closes when it reaches the 2 line of code: private MyDataBase dataBase = new MyDataBase(context); private List<Nota> itemsImportantes =dataBase.getAllDataImportantes(); The LogCat tells me NullPointExeption on that...
asked on 23.11.2018 / 03:07
1
answer

sql use cursor to perform an operation between two tables

I have been asked to create a trigger which realizes an update of the balance field of the loan table, which is calculated by adding all the payments made in the column amount in the payment tablePrestamos, so I must do an update of all the Loan...
asked on 27.11.2018 / 07:16
1
answer

Problem with class extends in PHP

I have a problem with a class, in which I extend the Conn class which is my database connection. The error is    Class 'Conn' not found in ... <?php class User extends Conn{ private $nombre; private $username; public fun...
asked on 25.11.2018 / 14:30
2
answers

Error when upgrading laravel 5.3 to 5.4

When upgrading to laravel 5.4 the following error occurred: Does anyone have any ideas? I can not even access the main route. I followed all the steps of the upgrade but no idea why this happens, I'm upgrading from version 5.1, 5.2, 5.3...
asked on 27.11.2018 / 13:29
2
answers

Remote access to my home computer

Actually I have tried from my tablet to compile code in python, I can do it from home using OpenSSH to my Linux team and also access my console, I would like to be able to access in the same way outside my local network. If possible making us...
asked on 21.11.2018 / 19:42
2
answers

Make a map of a REST Web API response

I'm trying to do a map of a response from a Web REST API . At the moment of doing .map on the object http.get the TypeScript returns this error:    The 'map' property does not exist in the 'Observable'.ts (2339) "type...
asked on 25.12.2018 / 18:12
2
answers

Object of class Conn could not be converted to string in

The following error is presented to me when designing queries to the database, I enclose the source code: Validations.php: <?php session_start(); if(isset($_SESSION['usuario'])){ header('Location: vistas/home.php'); } if($_SERVER['REQ...
asked on 26.11.2018 / 03:22
1
answer

Syntax Error jQuery v3.1.1 "el.querySelectorAll (" * ,: x ");" // line 1317

At the moment of opening the console and reloading the page, it sends me directly to the debugger and shows me line 1317 in red and remains loading until the console is closed. I do not think the problem is in jQuery. I do not think he's the...
asked on 27.11.2018 / 23:37
2
answers

Show colors taken from a php database

I have a web application, which has a form for registering new users; Each user is assigned a unique color, taken from BD (MySQL) . I have a users table and a table colors, having two registered users, I want to show the color assigned...
asked on 21.12.2018 / 17:38