All Questions

1
answer

Problem with double php query

This is the code I'm trying and the second query does not make me, in the second while I get a message. I try to save people with an array and their roles in a vector, if you can not do double queries, in what way can it be done? if ($s...
asked on 24.11.2018 / 13:33
1
answer

Error related to sql_mode = only_full_group_by when running MySQL query

I'm trying to do an ORDER BY, I have a query which shows me some products and the query works for me when my system is running, but I added an ORDER BY and the query shows me the following error, huh searched on the internet, but it is not entir...
asked on 23.04.2018 / 22:09
3
answers

Arraylist in java

Is it possible that when you create an ArrayList it already has a value inside it? example: //creo el arraylist para almacenar luchadores que son parte de otra clase private ArrayList<Luchador> cantLuchadores= new ArrayList<Luchado...
asked on 21.04.2018 / 19:48
1
answer

Pixelated image when taking Android photo

I have an application in which I use the camera, the problem is that when I take the photo, in the preview of the Android camera application I see the pixelated image, here an example: I access the camera in this way: val takePictureI...
asked on 23.04.2018 / 18:18
1
answer

Doubt in an exercise with While condition

Hi, I've been doing exercises with the While condition, but I still have trouble understanding how the exercise works. It consists of entering 10 notes and saying the notes over 7 and under, I have guided myself with other exercises and I have m...
asked on 22.04.2018 / 13:00
1
answer

Return true or false PHP

I realized that the validation did not work and that no matter what data you enter from the maintainer, this code always returns 1. What I'm looking for is that it returns 0 if the sql query did not return any results. if (!$cnn) { die("Co...
asked on 27.11.2018 / 15:51
2
answers

how to get an exact "em" without calculating

How to get a em without calculating? That is, in div > .p : .div { font-size: 30px; } div > .p { font-size: .9em; } This gives me 27px, but if I wanted 26px, as I do to get that exact pixel without being calculated un...
asked on 23.04.2018 / 23:48
1
answer

Angular filter to pass HTML string

Hi, how can I do a angular filter, to read a string html , or how do I create a method to read a string html <div ng-bind-html="item.description"></div> why when I save text with he saves it but he show...
asked on 27.03.2018 / 16:57
1
answer

error in webpack module loaders

I find the next brake, I am adding some loaders to my webpack.config.js The code is as follows: module.exports = { mode: 'development', entry: './test.js', output: { filename: 'bundle.js', path: __dirname },...
asked on 20.04.2018 / 13:29
1
answer

VS marks as error the syntax for a fragment

return <> <NavItem> <NavLink href={'/app/logout?returnUrl=${returnUrl}'}>Log out</NavLink> </NavItem> </> I have the previous code fragment inside a tsx file, in a folder in visua...
asked on 20.04.2018 / 17:45