All Questions

1
answer

Query two different tables and show in the blade view?

Table 1 news Table 2 notes The following controller makes a query to the news table. The search engine makes the query with three different fields. The question is how to make the query from the table (notes) at the same time as the news t...
asked on 06.04.2018 / 20:37
1
answer

Concatenate variable php with sql query

It does not let me concatenate the following query, it throws me error $consulta_url="select url from urlspeliculas where idioma='$idiomas[$f][$g]'"; the last bracket in $ languages [$ f] [$ g] I take it as text, some solution?...
asked on 29.01.2018 / 02:24
1
answer

Using MySQL Procedures in GeneXus

Is it possible to invoke procedures created in MySQL from Genexus? If so, how can I do it? Is there a guide?     
asked on 09.04.2018 / 20:02
1
answer

Incorrect Data to Get COUNT value of a query with rowCount PDO - PHP

I'm doing a query on the model of a web application in PHP with MVC . The idea is to make a query in which to put the value in empresa_id I see the total rows with that company, for this I used COUNT() in the query...
asked on 06.04.2018 / 16:23
1
answer

Error trying to package a program with cx_Freeze

I would like to know how to convert this file .py in a file .exe since trying to generate it with cx_Freeze gives me an error when executing it: cx_Freeze: Python error in main script --------------------------- Traceback...
asked on 17.01.2018 / 22:01
2
answers

How to count records of 3 tables linked by a foreign key?

I have a main table with one record, and in the other two tables there can be several records that depend on the record in table 1. I need you to show me only 1 record as it appears in image 1, but adding 3 more columns corr...
asked on 25.01.2018 / 05:51
1
answer

Connecting Php with SQLServer 2000

<?php $server = "10.7.0.202"; $database = "GERENCIA"; $user = "sa"; $password = ""; $conexión = odbc_connect("Driver={SQL Server Native Client 10.0};Server=$server;Database=$database;", $user, $password); ?> I am looking to connect to a...
asked on 18.01.2018 / 02:46
1
answer

In Python Pandas how can I filter a dataFrame with part of the content of a string?

I have a dataFrame that has a column named 'linea' . I want to filter the dataFrame only with the lines that have the word "GRANEL" in its content and discard all other lines. To filter currently I use the code: lista_produccion_t...
asked on 19.01.2018 / 19:37
1
answer

how can I retrieve values from an EditTextPreference?

I'm working with Preferences in android and I have a problem, I have a fragment that is a PreferenceFragment, in that fragment I have several options one of them when I click it opens a dialogue box with a field to place text inside as shown i...
asked on 22.01.2018 / 16:38
1
answer

Load a tree from file

I have a tree with the following structure: Which I have stored in a file, with the following content:    1 - 2 3 4 * 2 - 5 6 7 * 5 - 11 12 13 14 * 11 - * 12 - * 13 - * 14 - * 6 - * 7 - * 3 - * 4 - 8 9 10 * 8 - 15 16 * 15 - * 16 - *...
asked on 22.01.2018 / 07:19