All Questions

2
answers

Distinguish accents and non-accents in MySQL and Java

I have created a table in a MySQL database that stores a text field: CREATE TABLE 'Usuarios' ( 'Id' int(11) unsigned NOT NULL AUTO_INCREMENT, 'Nombre' varchar(50) DEFAULT NULL, PRIMARY KEY ('Id') ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAUL...
asked on 23.05.2016 / 21:19
2
answers

Angular Error assigning "*" to a variable declared in the scope

My problem is as follows, I have declared the following variable in the scope: $scope.submit={ next:"", formparams:"", value:"" }; In my HTML I have: <div> <div ng-repeat="opcion in menu.opciones"><l...
asked on 29.03.2016 / 05:24
1
answer

Implement CustomException

I have a messaging class, in which valid if any required field is empty or business rules which information by a string variable comes to the presentation. public class Mensajeria { Resto de código } My question is implementing CustomEx...
asked on 13.04.2016 / 19:42
5
answers

How to organize an array?

How do I get this program to organize the data in the same Array so that first the numbers are greater than 0 and then the zeros in the Ordenar() method? For example: Entry    (2,3,0,1,0) Exit    (2,3,1,0,0) He...
asked on 02.11.2016 / 18:47
3
answers

Query about the reserved word "super ()" JAVA

Good afternoon, in my project I have the following attributes and constructor of an Abstract Class: //Attributes private int number; //Constructor public Card ( int number ) { this.number = number ; } Of which inherits the following C...
asked on 27.04.2017 / 21:21
2
answers

Delete select option without intervening a div

I have this code in PHP that repeats me 10 times the same select with the same information. for ($i=1; $i < 11; $i++) { $output.=' <div class="form-group"> <label>Prioridad '.$i.' de horario</label>...
asked on 08.07.2017 / 20:56
3
answers

Compare two element-by-element vectors

I have two lists in Python: a = [1, 5, 5] b = [2, 10, 8] If 1 < 2 and 5 < 10 and 5 < 8 , that is, if each element of the list a is less than its corresponding element list b , then the variable c...
asked on 25.07.2017 / 09:33
2
answers

How to handle PHP file paths

Hello guys for a long time I wanted to introduce myself in the PHP world but I had never finished giving the pleasure, one of the issues I have is how to manage the routes of the include and require already if you have several folders to include...
asked on 29.07.2017 / 21:55
1
answer

problem with Pseudo-elements :: before and :: after in css

Greetings, I am trying to center the arrow I make with the pseudo-elements :Before and :after of css but I can not find how to solve my problem, the idea is that the arrow will focus on div that contains it and that the arro...
asked on 06.09.2017 / 16:59
3
answers

Prevent a PHP file from being called directly from the browser

I have tried many methods, but in the end they always fail. The only one that did not give me problems was to do a validation with GET getting the id , if(!isset($_GET[id])){ { header('Location: /App'); } } but it does not ma...
asked on 17.08.2017 / 07:07