Interesting questions
-
1
votes1
answer45
viewsWhy can’t I recover the amount of record that corresponds to the date range?
$quantidade_week = DB::table('serviceorders') ->where('serviceorders.status_serviceorders', '=', 'OPENED') ->WhereDate('serviceorders.date_started_serviceorders', '>=', $firstDayOfInterval)…
-
1
votes1
answer51
viewsWhat’s the difference between . / and .. / in php?
I’ve been trying to put a part of my code with ../diretório/arquivo.php, It didn’t work at all, so I accidentally only put one point, it worked, is there any difference between these? I didn’t even…
phpasked 7 years, 5 months ago José Augusto Megres 81 -
1
votes0
answers463
viewsUse two CSS classes in C# Razor MVC
I want to use two CSS classes in Razor. Is it possible to do this? Because I’m not getting it. Here’s what I’m doing: <div class="form-group"> @Html.LabelFor(model => model.ativo,…
-
0
votes1
answer42
views -
4
votes1
answer3003
viewsPrint contents of the HTML page
I would like to print a page of this format But when I print it is in this format I have a function in JS, but do not know how to solve this formatting problem CODE <!DOCTYPE html> <html…
-
0
votes1
answer78
viewsField List of a jsp
This field is filled in correctly by a query made in the DAO. The problem is that you are not accepting the object as null or as the value by the ID. The entity’s field is Man Entity @ManyToOne…
-
3
votes3
answers896
viewsWebpack not updating Bundle.js
I’m new to this React and Webpack thing, and I’m studying a lot, but I’ve come up with a problem that I’m not finding a way to solve. const webpack = require('webpack') module.exports = { entry:…
-
0
votes2
answers25
viewsSame download form for different pages, how to save to which page was downloaded?
A client’s website has the same form for all pages (where there is the possibility of downloading a file, the person must fill in before making a download). Only the customer wants to know which…
phpasked 7 years, 1 month ago Artur H. Schmidt 41 -
1
votes1
answer103
viewsLimit amounts of categories in wordpress
Hello, all right. I have a question here and I’d like a little help from you I have the following code: <?php $prod_marca = get_field('categoria_e_tags_marca'); if( $prod_marca ): ?>…
-
1
votes0
answers25
viewsDemographic Census R Analysis
I need to read the data of the demographic census of the IBGE, of the base of people, in the case of the code below I downloaded the data of the desired UF manually, I was able to read them in the…
rasked 5 years, 9 months ago user22021995 41 -
4
votes1
answer1916
viewsTest connection to the database
I have an application that has a central database, in it is carried out the registration of several databases dynamically to use in another part of the application. I want to know how to test if…
-
-1
votes5
answers1890
viewsReceive and read array coming by Ajax
I have a requisition ajax thus $.ajax({ type: "POST", data: "valor="+val, url: "ajax/mostra_imagens.php", success: function(e){ console.log(e); } }); On the page mostra_imagens.php he creates a…
-
2
votes1
answer72
viewsLocal Bank Storage Method
I have a local bank on my desktop, in it I developed an application using C# and Asp.Net MVC and thought it would only take the trouble to migrate to some MS SQL database when uploading the project.…
-
1
votes2
answers218
viewsHow to break an infinite loop using Ctrl-C in Java
I have a multithreaded server that sits in an infinite loop waiting for new connections and I want to be able to stop this loop when I press Ctrl-C (or something similar). I tried to use that one…
javaasked 8 years, 6 months ago Michael Pacheco 1,657 -
8
votes2
answers3923
viewsRun parallel process in PHP
I own a Web service that is consumed by some applications. On the Web service there must be the use of API of Amazon and perform a process whenever a record change is made via Web service. Initially…
-
3
votes1
answer46
viewsAre there problems in declaring many noexcept functions?
I see a lot of code in C++14/C++17 where the programmer is sure that the function will make an exception, but does not report this pro compiler, perhaps because it may cause some problem when…
-
4
votes2
answers1474
viewsButton next to input text bootstrap 3
I’m having a problem that I can’t put my input file button next to my input text. I’ve done some research, tried some things I’ve seen and nothing. Maybe it’s pretty silly, but I’m kind of new to…
-
1
votes1
answer1610
viewsDownload PDF Files in Reactjs
I have a small problem in downloading PDF files I have a API that returns a array bytes with the type: "application/pdf", if I call straight in my browser route. Ex: localhost/api/download/pdf/{id}…
-
0
votes2
answers40
viewsHow to return a value from a checked column?
I’m trying to get the ID of the selected line with :checked but I’m not getting it. HTML <table id="dividas"> <thead class="thead-inverse"> <tr> <th>#</th>…
-
-1
votes3
answers51
viewsHow to exit the condition loop in this register with Mongoose/Express
I was learning how to connect my API to a database using Mongodb, so I started learning how to register users and everything was going fine until I got caught up in a problem that’s keeping me from…