Posts by Lindolfo Junior • 44 points
9 posts
-
0
votes1
answer25
viewsA: Return results from database
You are only doing the Insert. Try so: include_once("ConexaoBigData.php"); $nome = $_POST['Nome']; $email = $_POST['Email']; $sql = "insert into Funcionarios (Nome,Email) values ($nome, $email)";…
phpanswered Lindolfo Junior 44 -
-1
votes1
answer1157
viewsA: How to generate PDF in PHP 7.0.30?
Try using Dompdf which is simpler and works with php 7+; Linkd to the Dompdf This is a simple example of creating PDF. // reference the Dompdf namespace use Dompdf\Dompdf; // instantiate and use the…
phpanswered Lindolfo Junior 44 -
-1
votes1
answer149
viewsA: How to make a field type inside another? Javascript
Use the onkeyup event I believe will help you. try like this <input type="text" id="a" onkeyup="document.getElementById('a-1').value = this.value;"> oninput: <input type="text" id="a-1"…
-
1
votes0
answers90
viewsQ: Error while trying to create a Node.Js symlink
I am trying to run the creation of a symbolic link on Node.Js however, I am getting error 'EPERM' when running the script. Script: const fs = require('fs'); const path = require('path'); let…
-
0
votes2
answers45
viewsA: Enable the button when fields are filled in
You can use Jquery to make this process of enabling or disabling the button, just put the event onblur in the fields calling a javascript function as for example below: <input id="campo1"…
-
1
votes2
answers172
viewsA: Foreach in Laravel only returns the first line
How are you doing putting the return inside the loop, the same is coming out as soon as it performs the first step. If you want to display to the user all the items, I suggest you write using the…
-
0
votes1
answer614
viewsA: Sum values from a date in Excel
You can use SOMASE() Simulating that the cut-off date is in A1 the result will be in A2 and the value data are in B4 to B9 and date on A4 to A9 =SOMASE(A4:A9,">="&A1;B4:B9) the result would…
excelanswered Lindolfo Junior 44 -
1
votes1
answer37
viewsA: I can’t do the insert in the bank
My suggestion is you use sending by means of parameters mainly because it will suffer with sqlinjection in the mode being done but, keeping as you are wishing to do, try so:…
-
-1
votes1
answer335
viewsQ: Align button underneath CSS
I am using the bootstrap, however, when I put buttons next to the labeled fields, it is aligned on top, as I do to put it to be aligned below? <div class="box"> <div class="box-body">…