All Questions

3
answers

Error when consulting with eloquent in laravel 5.6

I'm trying to show data from a table that is related and I'm using Laravael Eloquent for the query. but it generates the sgt error:    SQLSTATE [42S22]: Column not found: 1054 Unknown column 'a.name' in       'where clause' (SQL: select co...
asked on 26.09.2018 / 23:04
2
answers

Different result when using parseFloat [duplicate]

I just need to take two decimals of a number with the toFixed (2) method and for that I have to convert the numbers to parseFloat because otherwise the toFixed method fails me. The problem is that they give me wrong numbers and I do not know w...
asked on 20.09.2018 / 10:37
3
answers

Consult MySql using indexes

I have a question that I can not solve with Mysql: How can I do the query in this case to obtain the name of the client and the name of the company? I hope for help since I am very involved with this. Thank you!! José     
asked on 05.04.2018 / 15:36
3
answers

Scroll between components (TextBox and Buttons) using TAB

I have a Form made in C # with some buttons and TextBox, it is supposed that when I give the TAB key it is changed to the next component, be it a button or a text box, but sometimes it goes up to two or three components. I do not have a code...
asked on 26.07.2018 / 20:27
4
answers

filter with if php and show only if it is greater than 0

With this function I create the search for my earrings. function pendientesporrevisar($conexion){ $pendientes = (mysqli_query($conexion, "SELECT COUNT(*) AS conteo FROM ticket WHERE tipo_solicitud = 1 && status = 1 ")) or die(...
asked on 18.04.2018 / 15:55
2
answers

Convert a char array to uint8_t

I have the following array of characters: char caracteres[10] = {'1', '2'}; And the next uint8_t (its size is 1 byte): uint8_t resolucion; What I want is to store the 12 (as a number) within the variable resolucion . I hav...
asked on 23.05.2018 / 10:21
2
answers

Problem with mysql-server password

I just installed mysql-server in ubuntu and when I wanted to enter it asked for a password, which in the installation did not ask me for any password. I need help with this I have been doing more than 1 day doing things and doing nothing. I than...
asked on 09.07.2018 / 00:33
2
answers

Why do the private attributes of a class change despite assigning them to another variable?

You define a class with a 'private' attribute called __rango then you want to make a copy of this attribute in the variable rangoT to modify it without affecting the original attribute, but both change its value. Class definitio...
asked on 10.04.2018 / 19:06
2
answers

How to eliminate whitespace in a string?

How can I eliminate whitespace in a string? How can I put all the characters together and eliminate those spaces? var incognita = "Hola como estas";     
asked on 18.05.2018 / 16:08
2
answers

Program divisor of a number in java

I'm trying to do a class exercise, I'm a rookie in java and this is my second task. The statement is this: Make a Java program that asks the user for a whole number. After processing it, the program informs if the number is divisible by 2...
asked on 17.10.2018 / 09:07