Questions tagged as 'mysql'

0
answers

pass query from MYSQL to JPQL?

Good afternoon, my query is the following I have the following query in MYSQL SELECT 'producto'.'NOMBRE' NOMBRE_PRODUCTO, 'ordentrabajo_producto'.'CANTIDAD' CANTIDAD, 'cliente'.'NOMBRE' NOMBRE_CLIENTE FROM 'ordentrabajo_producto' INNER JOIN...
asked by 04.10.2017 / 21:23
0
answers

Consultation with MYSQL

Good I have in the table inspections some select that have values, so as not to have to hardcode all the possible values to choose to store them in a table called form_values When saving an inspection in the picker field, the id of that optio...
asked by 04.10.2017 / 20:52
1
answer

How do I use the mysql node module from ionic 2?

I need to connect to a database using the mysql module of node_modules, using the ionic 2 framework, in previous projects where I worked with express only easily, but with ionic 2 I do not know how to integrate these, what I have achieved find o...
asked by 25.05.2017 / 16:52
1
answer

Insert different tables of a base into an array in Codeigniter

The problem I have is what do I get a json of a form, by doing the json decode I get: Array ( [curp_aval] => pemi940613hdfrdasr [nombre_aval] => Ivan [ap_pat_aval] => Perez [ap_mat_aval] => Montiel [curp] => GACh94...
asked by 25.03.2017 / 18:48
1
answer

show the total sum and show it in variable

I am trying to make a leader classification table similar to the one on this website : But the only problem I have that does not show me the total sum of points well, I do not calculate the sum well. The rest is fine the only problem I...
asked by 15.04.2017 / 04:52
0
answers

Upload files with Android php and mysql, multiple parameters in HttpURLConnection?

Hello everyone I am learning to use Android Studio download a project from git the project works perfectly and included some contributions such as saving the file that is uploaded to the database; I now try to put the description of the docu...
asked by 09.05.2017 / 17:36
2
answers

Help with PHP MYSQL error

I have the following problem when loading data on the web:    Notice: Undefined variable: connection in C: \ xampp2 \ htdocs \ Modules \ class_buscar.php on line 41       Warning: mysqli_query () expects parameter 1 to be mysqli, null given...
asked by 09.05.2017 / 12:48
1
answer

Error in Ajax query

Good evening, I think it's a simple question but maybe because of the time it is I can not find it because Ajax fails me in the user login: My form: <form id="form-validation" name="form-validation"> <div class="form-group"&g...
asked by 24.03.2017 / 19:07
1
answer

How to detect weekends with php?

I am trying to find out about a range of dates if it contains days that are Saturday or Sunday, the code I am using is the following: $fecha_i = '02/03/2017'; $fecha_f = '10/03/2017'; $begin = new DateTime($fecha_i); $end = ne...
asked by 27.03.2017 / 19:03
1
answer

LEFT JOIN MYSQL

I have 3 tables from which I am trying to collect data by doing LEFT JOINS. In the contacts table I have 2 types of contacts, people and companies each with their unique id and another associative one. When I execute the query that I leave...
asked by 21.03.2017 / 09:16