Questions tagged as 'sintaxis'

3
answers

String Separator in Java

I am generating a Jtable that has some information, however there is a field that obtains several data and they are stored to the side inside the same cell, currently separated by a comma (,) but my problem is that I need no last comma. For...
asked by 22.10.2018 / 20:08
3
answers

ignore syntax errors in javascript

Currently I have a code that works for all browsers except internet explorer. I would like to find a way to ignore this code when I'm on the internet explorer, that is, I will not be shown any errors. what I want is to enclose my code in a kind...
asked by 02.05.2018 / 17:50
2
answers

closure inside a loop

I have the following code, I do not understand the result var funcs = []; for (var i = 0; i < 3; i++) { funcs[i] = function() { console.log("el valor: " + i); }; } for (var j = 0; j < 3; j++) { fun...
asked by 30.12.2016 / 06:19
2
answers

Help with this error SQLSTATE [23000]: Integrity constraint violation: 1452 Can not add or update to child row: a foreign key constraint fails

Good I am trying to fill two tables of related data bases in Laravel using ajax one of books use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLibrosTable extends Migration { /** * Run th...
asked by 06.01.2017 / 00:44
1
answer

Syntax error in Stored Procedure

I have a problem compiling, what happens is that it generates syntax error, the detail is that I'm just learning from stored procedures, look at this is my function: Note: I edited my question and it was already executed correctly, only that...
asked by 09.10.2018 / 19:19
2
answers

(CSS basic HTML) Text box disappeared and the images are scattered on the page

In a school project I have to make a basic page with CSS that looks like this: But when entering the code, which I show below, the top is fine but the bottom disappears textbox "cuadrote" and the two images are very poorly accommodated: /...
asked by 04.04.2017 / 18:28
1
answer

++ in front of variable inside of a while - Language C

int bandera; while (++bandera != 1) { bandera--; } I do not understand the code of ++bandera != 1 . Does it mean that +1 is added to the flag and then fixed if it is different from 1?     
asked by 25.09.2017 / 06:05
0
answers

JAVA Syntax of an Arrangement

I'm trying to build an array of objects of the Question class. Its constructor method is the following: public Pregunta(String pregunta, String[] respuestas, int posicicionRespuesta) { this.pregunta = pregunta; this.respuestas = re...
asked by 16.11.2018 / 18:37
0
answers

I can not program in PHP

I already have a web application in java and now I want to migrate to php, the problem is that when trying to execute the php code does not show it how it should, I used a test code: <button onclick="enviaPeticion()"> Ped...
asked by 05.11.2018 / 03:18
0
answers

Search in a mysql table with java

String sentencia = "%'"+"SELECT *\n" +"FROM alumnos\n"+ "WHERE dni LIKE '%"+filtrar+"%'"+ "OR apyn LIKE '%"+filtrar+"%'"+ " OR sexo LIKE '%"+filtrar+"%'" + " OR fec_nac L...
asked by 15.07.2018 / 20:52