All Questions

3
answers

Build query according to CheckBox selected PHP / MySQL

I am trying to make a query according to the checkboxes that have been selected but I can not think of the best way to do it, I would like them to help me to build the code. Here's an example of how I'm doing it and if I select the...
asked on 18.08.2017 / 16:33
2
answers

.net Core auto executable

After creating my first console application with .Net Core 1.1 in Windows 10 with Visual Studio 2017 I copied to my server Linux - Ubuntu 16.04.3 LTS (already with the .Net Core framework installed). I have successfully executed the comma...
asked on 19.08.2017 / 22:25
1
answer

Check login in Laravel 5.7 from external script

I have an application in Laravel and I need to check, from an external script, if a user is logged in or not and what it is. For this I use the following lines of code, to load Laravel: require_once __DIR__.'/../../../vendor/autoload.php'; $a...
asked on 17.09.2018 / 08:49
1
answer

access functions of a variable in a constructor js

I want to access the variable ctx which is located in the constructor of my game and in the loop function which accesses it to clean the canvas I get the error "main.js: 191 Uncaught TypeError: Can not read property ' clearRect 'of undefined " c...
asked on 10.09.2018 / 20:27
1
answer

Change database using variable @databaseNameVariable

How to change the database with the name of the base stored in variable ?; Do the following code, however, do not change the database. DECLARE @inicio VARCHAR (100) DECLARE @bdname VARCHAR (100) DECLARE @usedb VARCHAR (100) SET @inicio =...
asked on 21.08.2017 / 18:18
1
answer

Problem with relations in DATASET obtained from database

I'm having trouble getting a table with relationships. The problem arose that I had a complex query with many relationships, when asking the question they helped me to make the query that is efficient and fast, but when placing it in my program...
asked on 19.08.2017 / 16:51
1
answer

SQL Query subquery level

I have a query that throws level error. It is a table that has the rates of change in two directions Example: moneda_from | moneda_to | tasa conversion ARS | USD | 0.20 USD | ARS | 20.00 I want to get one of the...
asked on 14.09.2018 / 00:18
1
answer

Use javascript within PHP

I need to enter a specific password, if it is correct to redirect me to another page. Do I have to add javascript code? <?php $password = "123456"; if ($_POST['password'] != $password) { ?> <h2>Logueate</h2> <form name=...
asked on 13.09.2018 / 08:21
1
answer

Error requesting the refresh_token when integrating the Google Drive API with Laravel

+4 days ago I implemented the registration and login through Google in my Laravel application. When the user does not have an account then it is created, but when it is already registered what it does is allow access. public function handle...
asked on 09.09.2018 / 03:05
1
answer

Save in BBDD the selected row of a JTABLE

I have a small problem ... I'm trying to make my JButton "Save" save to BD only those selected rows of my JTable. the code that I have is the following: button = new JButton("Guardar"); button.addActionListener(new ActionListener() {...
asked on 17.09.2018 / 20:39