All Questions

2
answers

Array to PHP table

I have the following array: Array ( [0] => Ficha 001 [nombre] => Ficha 001 [1] => Supermercados [matriz_nombre] => Supermercados [2] => 1000 cc [columna_nombre] => 1000 cc [3] => Heineken [fila_nombre] => Heineken [4] =...
asked on 22.10.2018 / 12:17
2
answers

I have a question about Android Studio

Why when I put num2 = calificacion.getText().toString() and num3 =Double.parseDouble(num2) where it is shown in the code gives me error; but when I put it before the If the program works for me without problems? Thanks for y...
asked on 26.10.2018 / 10:26
1
answer

Drawable image in java object

How can I introduce a drawable element (in this case an image) into a java object? In this case here: public Receta(String nombre, String elaboracion, String dificultad, String ingredientes, Drawable imagen) { this.nombre = nombre;...
asked on 26.10.2018 / 10:44
1
answer

How to perform date conversion YYYY-mm-dd in bash

How can I get the format of a specific date? I have the following date: 18APR01 but that format I do not want, The code that I have is the following: date --date=18APR01 +%Y-%m-%d Exit: 2001-04-18 What I really want is for the out...
asked on 19.10.2018 / 21:00
1
answer

Replace into MySql problem with foreign key

I'm doing an insert in mysql and searching the internet I found the replace into that if the record exists it deletes it and enters the new one, now try it in mysql and it gave me a foreign key error since the registry is associated to another t...
asked on 21.10.2018 / 18:33
1
answer

How to show only a range of values on the highcharts Y axis

I'm doing some graphics in highcharts with double Y axis, and it shows me the values in the following way: but what happens is that as the values of the Y axis (right side) has minimal differences, which are between 100 and 99, and you...
asked on 22.10.2018 / 22:33
2
answers

Translation sql to eloquent Laravel

Does anyone know how I can translate this query to eloquen? select distinct usuario_ad from usuarios where asignacion='null';     
asked on 24.10.2018 / 02:04
2
answers

Error uploading file using type="file"

I have a big problem that is quite strange, I have a input type="file" on my website, in which users can upload a photo of a document. What happens to me is that sometimes from a mobile, when using the input to upload a photo from...
asked on 19.01.2018 / 15:29
1
answer

Remove signs from a string in SQL Server

I have a question about an alphanumeric chain, I have to validate that this chain if it has an alphanumeric, for example: EJEMPLO123+ Delete the% "+" and keep the alphanumeric only.     
asked on 25.01.2018 / 23:42
1
answer

Can it be verified in DB if it is equal to a string?

I am trying to verify in a field of a mysqli table if it is = an exact string. That is: $consulta = "SELECT count(*) as total FROM productos WHERE productos.stock = 'si' "; Is it well formulated?     
asked on 22.01.2018 / 16:14