Posts by Bruno D.assis • 305 points
21 posts
-
0
votes0
answers38
viewsQ: How to get the path of the current route of the React-router-dom with the same parameters and just update the route?
I’m developing a dropdown, and each dropdown item will have a link to redirect to the same page, which will change are the parameters on it. I want to know how to get the full URL already with the…
-
0
votes2
answers35
viewsQ: How to create a React component that receives a query string and then make a request?
Hello, I’m having a hard time getting a page on React to work. This page receives a query string with token and email, where I should pick them up and make a request for the account to be validated,…
-
2
votes1
answer740
viewsQ: How to receive query params in React with reatc-router-dom?
I’m making an App, using React with typescript and React-router-dom. But I’m having a hard time working with query params on routes. My initial goal was just to receive the token and email that…
-
0
votes1
answer225
viewsQ: How to configure the Summernote editor to display a web page within the window?
Good morning, wanted a little help and tips to make the summernote text editor open a web page, for example on a page I am typing HTML normally and with clicked to see the code, would appear the…
-
-1
votes1
answer446
viewsQ: How to update data from an Laravel 5.2 registration?
I’m touching the Laravel a short time, I have name, email and password and wanted to know how to update this data with a form. <div class="container"> <div class="row"> <div…
-
0
votes1
answer31
viewsQ: how to configure the SMTP Mailer in wordpress?
I am trying to configure it, but this giving the following error when sending a test message in the Test Email tab. CLIENT -> SERVER: QUIT SMTP -> get_lines(): $data is "" SMTP ->…
-
0
votes0
answers28
viewsQ: My has wordpress not this loading
I’m having trouble using my theme in wordpress, so I load the theme and active it, I put to see it, but actually appears another theme over it, one daqules themes that already comes by default in…
-
0
votes1
answer233
viewsQ: How to loop in jquery once you load the page?
hail personal! I have a drawing of an arrow, and I would like it to move down and up without stopping, from the moment someone loads the page. $(document).each(function() { $('#seta').animate({top:…
-
0
votes3
answers1555
viewsA: PHP - Error when trying to log in - mysqli_num_rows() expects Parameter 1 to be mysqli_result
Good afternoon friend, if I am not mistaken this missing one more parameter according to the error in the message. I suggest you check the php manual:…
-
0
votes1
answer215
viewsQ: How to configure routes in Laravel 5.3?
I’m studying more on my own Laravel, and yes I’ve looked at his documentation on routes and I can’t make it work here. I ran a little test: Route::get('/', function () { return view('welcome'); });…
-
1
votes1
answer160
viewsQ: Can’t I return all the input data with PDO?
I created a page to put the cpf and soon after doing a database search, and brings the data according to the typed Cpf. but has some inputs that are not coming back as <radio> (sex M or F),…
-
0
votes1
answer669
viewsQ: Can I pass a result of a calculation to Javascript percentage?
The calculation I managed to do with Javascript, only that its output has to be in percentage. <script> var mb = document.querySelector("input[name=medidab]"); mb.addEventListener("keyup",…
-
1
votes2
answers466
viewsQ: How to take data from an input, make a calculation and play in another input?
I would like to know how to take a value of a input, do the calculation and play the result in another input. Example: imc = peso x (altura)².And when one puts the height and weight on inputs, the…
-
-1
votes2
answers2832
viewsQ: how to do a mysql search with php and return the data in each input?
my system has to do a search, using a patient’s Cpf, then when he type his Cpf, have to have a search in the bank, where php will get all the information that the patient has with that Cpf that he…
-
2
votes1
answer283
viewsQ: How to control the event to get out of the page?
I put an event using Javascript in a tag <a> that this stylized as a button, the event serves only to show a message that the user will leave the page. But the message looks for all tags…
javascriptasked Bruno D.assis 305 -
0
votes2
answers152
viewsQ: doubts about the variable session_start()
I put the method session_start() to make the user name appear on the screen when he logs in to the following pages, but I wanted to put his "name" instead of "email" follows the code I did: Code to…
-
0
votes1
answer27
viewsQ: how to upload a file and download it via php?
I created a button to make the ulpoad of a file for the database. up to there beauty. but there is a problem it saves the file with the day and time instead of the file name. I wanted to know if…
-
-1
votes1
answer46
viewsQ: How to show that the user is logged in to the pages he visits?
How do I make the after the user logs in, that he can see in some corner of the screen his name with some information from him with that login and that when he presses the "back" or "exit" button a…
-
2
votes1
answer898
viewsQ: How to do button to confirm if you want to quit the page?
How to make my button voltar inform the user if he really wants to leave the page and then direct to the index.html using Javascript? Not quite a button, I’m using href to redirect to index in the…
javascriptasked Bruno D.assis 305 -
4
votes2
answers1472
viewsQ: How to use Javascript to lock a keyboard key and display alert in the field about the recommended key?
How do I make a Javascript to block comma usage , within the field and at the same time also make an informed notification that point only . is allowed and also check if what the user has typed is…
javascriptasked Bruno D.assis 305 -
5
votes2
answers30215
viewsQ: how does auto increment work in mysql?
I want to know how to add a column so that it is primary key and auto-increment, but that the value is higher, example: ID :3509. and not just 1,2,3,4...etc.…