Interesting questions
-
0
votes0
answers28
viewsProblems with php Paging
I just discovered the flaw. The url was the answer! My code was sending the address as follows: localhost/ports/searches.php? page=2&selector=requested What really showed the number buttons was…
-
1
votes1
answer340
viewsAs for two values in highcharts
I set up a chart with highcharts where I need to know the percentage of financial input and output. <div id="container" style="min-width: 410px; height: 500px; max-width: 600px; margin: 0 auto;…
-
7
votes2
answers1017
viewsPrevent DROP TABLE
I would like to prevent deletions on a table in Sqlite. CREATE TRIGGER nao_deletar_tabela BEFORE DELETE ON tabela BEGIN SELECT RAISE(IGNORE); END; It worked! Whenever one runs DELETE, nothing…
-
0
votes1
answer23
viewsWhen uploading files using Bootstrap do I need to upload all files related to Bootstrap?
I have a question related to uploading files using the Bootstrap framework! I found very heavy the folder of the site with a single page, so the question is I need to upload all bootstrap files or I…
-
0
votes1
answer172
viewsSettings Instance Tomcat / Nginx java sprintg
I need to configure a new instance of Tomcat to host a new application and in parallel configure Nginx to do the reverse proxy. The application is developed in java Spring. The application is two…
-
0
votes1
answer5276
viewsHow do I use power in C++?
I’m making a simple calculator, and I wanted to add power. I’ve tried to Pow() and did not give, need to add some class?
-
6
votes1
answer2947
viewsHow to get the position of a given element in a list through a specific attr?
I have a UL with some items. For example <ul class='ordemQuestoes'> <li idquestao="28" >Questao 28</li> <li idquestao="2" >Questao 2</li> <li idquestao="17"…
-
-1
votes2
answers417
viewsJar does not perform
I am using netbeans and Maven. When I try to run the jar file in cmd, the error shown is "no major manifest attribute in". Follow the nbactions.xml code: <?xml version="1.0" encoding="UTF-8"?>…
-
2
votes1
answer1065
viewsGet the div from within to "overlap" the father
I have this following structure: .containerNome{ width: 97px; height: 23px; border: 1px rgb(0, 0, 0) solid; background: rgb(0, 0, 255); border-top-left-radius: 10px; border-top-right-radius: 10px;…
-
0
votes1
answer136
viewsError editing record more than once with Entityframework C#
When editing a record and saving for the first time entityframework performs the update successfully, but when I click again on edit and save the record I come across the following error: Error…
-
0
votes1
answer88
viewsHow to select an option from an input select with the value of $_GET with Jquery
The page receives a value for $_GET and would like to auto select the value of a select input equal to the value of $_GET received using Jquery: <?php $valor = $_GET['valor']; // valor1 ?>…
-
1
votes2
answers120
viewsLambda expression to return a Person in the repository - DDD and Aspnet.Core
I have a table Person who has one-to-one relationship with the tables PessoaFisica and PessoaJuridica. When I pass the id, it has to check me if nature is physical or legal and bring me the person +…
-
1
votes1
answer47
viewsHow to place successive matrices in vector
I have the following matrices of 100 elements: int [][]matriz1 = { {0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0},…
-
12
votes2
answers1480
viewsHow to edit a list in C#?
I want to edit a record of a client in which I can already register, consult and remove. But I have no idea how to edit just a few items without others being lost. class Program { static…
-
0
votes1
answer215
viewsEntity Framework Asp.net mvc data comparison
I need to receive the value and quantity in stock of a particular product according to your Id.By debug the product id is arriving correctly, but when I am going to assign the values to the table…
-
2
votes1
answer1413
viewsuse vueJS’s Watch() method to track changes in the values of a variable
<template> <div> <span class="badge" :class="styleStatus" > {{tipoStatus}}</span> </div> </template> <script> export default { props:{ status:{ type:String…
-
3
votes2
answers868
viewsWhen trying to define column as Unique, error is generated by talking 767 bytes
When I try to run a Migration on Laravel, the following error is generated: [Illuminate Database Queryexception] SQLSTATE[HY000]: General error: 1709 Index column size Too large. The Maximum column…
-
4
votes2
answers452
viewsHow to send database data to view using ajax with codeigniter 3
Hello! I’m having a question. I’m developing a system for a furniture store. I want to get the owner to edit the furniture he registered in the system. I can recover the data, but I cannot place it…
-
2
votes1
answer87
viewsFiles. Sass do not compile
I’m working on a project using Jekyll with Github Pages. I’m trying to use a file .sass, saving it in the folder _sass, using the syntax recommended by the Jekyll website: --- --- .page-header…
-
0
votes1
answer32
viewsCreate function to change a data in the database table
Good morning, I’m doing a function so I can alter a data in a database table. That is, I have 4 data recorded in my database table where the main is 'yes', when recording a fifth data, the second…