All Questions

1
answer

Error fetch_assoc () on boolean

I need to be able to modify a record using a table, but it happens that when I want to execute the action of the button, it sends me an error. I had previously done a test with a table of 15 records or so and it did work, but when I tried to...
asked on 08.02.2018 / 05:33
1
answer

Convert to polygons and points the values of a file in Python

I have a file on my PC, text.txt that contains these values 5 0, 6 1, 5 2, 4 1 | 5 1 1 1, 4 1, 4 4, 1 4 | 3 3 1 1, 3 3, 4 1, 3 0 | 3 4 and I need to convert to polygons all the values before the symbol |, and to points the last 2 values, co...
asked on 18.12.2017 / 14:15
1
answer

I'm not sure why it gives this result (4320)

I do not understand why this result gives me, someone would explain to me a little the why of this result please? function a(n){ if (n === 0) { return 1; } else { return a(n - 1) * n; } } console.log(a(8)); // => 4...
asked on 09.12.2017 / 01:40
1
answer

Conflict of operand types: time is incompatible with numeric sqlserver

I'm doing a stored procedure to add a sale but I do not have this error Conflict of operand types: time is incompatible with numeric This Code is the same CREATE procedure agregarventa( @idusuario int, @idcliente int, @fecha date,...
asked on 01.04.2018 / 04:54
1
answer

How to show the values in each bar of a chart

Buenos Dias, I would like to know if you can help me, I'm doing a statistical chart with asp.net c #, so I got the graph but what does not come out is that I want the actual number in each bar to appear for example as well as the image...
asked on 07.12.2017 / 17:22
1
answer

Problem when updating datafable component of primefaces

I am developing a Primefaces 6.2 application in which I use the datatable component in edit mode. <p:remoteCommand name="refrescarTabla" actionListener="#{bean.dlgEditar.refrescarTabla}" update="pgTabla"/> <h:panelGroup id...
asked on 02.04.2018 / 13:10
1
answer

Why do I eat part of the content when I put the fixed menu?

I have a problem with the menu and content, because when I put the menu fixed and click on "us" I eat part of the content, my menu is scroll. I leave attached the link of the files. It's the first time I publish, so I apologize if I publish s...
asked on 02.04.2018 / 23:08
1
answer

Show results of a query to a BBDD

Good, I have this PHP code, with a database with the table "images" and with the fields: "id", "category" and "url". When I try to select all the images in a category, it only returns the first image of that category with the following notificat...
asked on 16.12.2017 / 11:53
1
answer

How to invert the order of a ngFor

I bring the information of a json that I generate with firebase, and I print it with a ngFor , but it always prints the arrangement from the first to the last one, I would like to do it the opposite. This is how I get the data...
asked on 03.04.2018 / 17:28
1
answer

Display an alert when inserting a duplicate product in the database

I have a question, I want to add a product to a database and when this product exists there is an alert that says "this product is already in the database", a question that I have achieved quite well except that when this warning comes out, is r...
asked on 04.04.2018 / 21:00