Posts by Sarah • 902 points
33 posts
-
0
votes3
answers127
viewsA: How to call React routes with Nodejs?
I could solve it just by reading: https://create-react-app.dev/docs/deployment following only the topics: Other Solutions, Serving Apps with Client-Side Routing, Building for Relative Paths Before…
-
3
votes1
answer327
viewsQ: Node.js V6.11.5 error in Windows 10
I installed Node.js to study Angular 2, I downloaded it from the Node website, but after installing, when I type npm start in cmd of my PC, I get the error below, I am giving command in file folder…
-
0
votes2
answers861
viewsA: Pass ids as parameter to Function js
Thank you to everyone who helped, but I managed to do so: i = 1; String.prototype.formatMoney = function() { var v = this; if(v.indexOf('.') === -1) { v = v.replace(/([\d]+)/, "$1,00"); } v =…
-
0
votes2
answers861
viewsQ: Pass ids as parameter to Function js
I have a function that you would like to receive the id values of some quantity, unit value and result fields. But I’m not getting it. ` String.prototype.formatMoney = function() { var v = this;…
-
0
votes1
answer345
viewsQ: Mail() -> white attached php file
I created an html page with a modal with a form that sends the data filled in the fields and also sends an attached file. I get the email and the file, but when downloading the file and opening it…
-
1
votes2
answers1275
viewsA: Image HTML position does not scroll with the screen
Thank you all so much! I was able to solve it like this: Was using position:relative to the image below, and position:absolute and controlled the positioning of these elements with left and top. I…
-
-1
votes2
answers1275
viewsQ: Image HTML position does not scroll with the screen
I’m creating a layout where the content is on top of an image, but I realized that when scrolling the page this image scrolls together! please can anyone help? tks. There goes html code: <section…
-
1
votes1
answer2131
viewsQ: I can’t edit wordpress HTML
I am editing a site made about wordpress.org but this site was created a few years ago, I can modify the html the way I want, upo on the server and the site starts running with my modifications,…
-
1
votes1
answer2024
viewsQ: Display text in Jframe
I would like to know how to assemble a text in my Java class, but this text would have the contents of a record of my database. I’ve done more or less that using JLabel but it creates one-line…
-
0
votes1
answer188
viewsQ: Delete selection from a List
In my java class I created a form and in it I created a button that clears all fields. But I can’t get you to delete the selection of a list that I have in the form, it erases the textfield and…
-
4
votes1
answer698
views -
4
votes1
answer496
viewsQ: Address and UDP destination ports do not appear
I’m creating in PHP a page that tracks UDP packet traffic from my machine. My intention was to get the list so: ____________________________________________________________________________ | Proto |…
-
0
votes3
answers1842
viewsA: same div with different colors
Well I hope this helps you: <!DOCTYPE html> <html> <head> <title>DIV SUA LINDA! ;)</title> </head> <style type="text/css"> .clara{ background-color:…
-
2
votes1
answer401
viewsQ: Print de array php
Nice afternoon to everyone!!! : D I am creating a php page that informs me my local ip, I am doing this through the command: shell_exec('ipconfig') so far so good because it returns the ip of my…
-
2
votes1
answer70
viewsQ: Manage iframe activity
Good evening guys!!! I came to ask you for a help. I am building a page. php with html structure that contains an Iframe in your body. Just when this page . php is opened iframe loads within itself…
-
2
votes1
answer40
viewsA: Should I create a form for each row/record of that datatable?
You can put your table inside the form and put the name of checkbox with different names, I do not know how you will use this form later, but the right is to identify them with different names, I…
-
3
votes2
answers100
viewsQ: UPDATE giving error but updates database
I’m creating a page of login where I need to save to the Mysql database the date and time when the login user. In the database I have a table like this:…
-
1
votes2
answers326
viewsQ: Vector receives method return
I am assembling a program in C# and created a method called Supply that receives an array called a number and returns the same. The idea is that the supply function creates random values, fill in…
-
1
votes1
answer1001
viewsQ: transform Mysql record into php variable and show in HTML?
I am asking to search in the database a result equal to a variable url that I already have, it looks right, but I want to pick another column in the same row of the url that it was looking for like…
-
1
votes0
answers160
viewsQ: Modal in jquery does not open
I’m building a page that when doing a database search, returns a table with the data found. In this table a td brings a link and passes a record at the same time. Clicking on the link should open a…
-
1
votes1
answer9434
viewsQ: Eclipse Message: The Selection cannot be launched, and there are no recent launches
I set up a program in JAVA and when I went to run this message, did anyone know why? If anyone knows and can explain I am very grateful :) Well, that’s my code if it’s easier to understand why…
-
3
votes1
answer3098
viewsQ: PHP/Mysql search with Javascript returning data to HTML
I’m setting up a search page where on the HTML page a search button when clicked calls a Javascript function that passes the typed content to a php page. This PHP page must connect to the database,…
-
2
votes2
answers726
viewsA: Search PHP/Mysql (show only result exactly the same as typed)
Well, I thank everyone who helped me, especially Bacco, thank you very much! From what I went through here I got the following result: <?php include ('conectar.php'); $sg_uf = '"%'.…
-
0
votes2
answers726
viewsQ: Search PHP/Mysql (show only result exactly the same as typed)
php collects input data using POST method. It is connected right, is searching, but when typing the UF and Municipality it shows me not only exactly what I typed, but also the related! type typed SP…
-
0
votes3
answers497
viewsA: Error Search PHP and Mysql Database
Thank you for all your help. That’s how it is: <?php include ('conecta.php'); $pesquisa = '"%'. $_POST["txtpesquisa"] .'%"'; $connection = mysqli_connect($host, $user, $pass,$database); if…
-
2
votes3
answers497
viewsQ: Error Search PHP and Mysql Database
I’m making a page that searches for information in tables of a Mysql database, the connection is beautiful, but is showing two errors : Warning: mysqli_stmt::bind_param(): Number of variables…
-
0
votes0
answers165
viewsQ: Pie Chart inside modal
I’m putting together a page with a link that opens a modal. In this modal I want you to open a pie Chart, but the modal opens in white and only after I refresh the page with the modal open does the…
-
0
votes1
answer561
views -
4
votes1
answer76
viewsQ: Where I find DOMPDF v.5
I’m only finding version 6 on Github, but I want to use version 5 that has the following files: dompdf/ |--include/ |--lib/ |--changelog.txt |--docblox.dist.xml |--dompdf.php…
-
0
votes1
answer45
viewsQ: Debug c++ in Visual Studio
I installed Visual Studio C++ 2010 Express. I created a project using Win32 Console Application, added a New Iten C++ File(.cpp) to this project, but at the time of running the error appears:…
-
32
votes5
answers10820
viewsQ: How to Reverse a String?
A user will enter a sentence and I must display this inverted sentence in upper case. How can I do this? import javax.swing.JOptionPane; public class ExerLar01 { public static void main(String…
-
1
votes2
answers3826
viewsQ: How to input weight mask using Javascript
So far I’m trying like this, but it didn’t work: $('.peso').keyup(function () { var v = this.value, integer = v.split('.')[0]; v = v.replace(/\D/g, ""); v = v.replace(/^[0]+/, ""); if (v.length…
javascriptasked Sarah 902 -
2
votes1
answer80
viewsQ: How to take input values and concatenate them Javascript
I’m doing it, but it’s not working var nomeRua = document.getElementById('nomeRua').value(); var nomeBairro = document.getElementById('nomeBairro').value(); var uf =…
javascriptasked Sarah 902