Posts by Xeoon • 127 points
10 posts
-
0
votes1
answer29
viewsQ: Access sub div Javascript
<div class="container"> <div class="card-deck mb-3 text-center"> <div class="card mb-4 box-shadow"> <div class="card-header"> <h4 class="my-0…
-
0
votes0
answers145
viewsQ: Update on Cascade Oracle with composite primary key
create or replace TRIGGER cascade_update AFTER UPDATE OF project_name ON PROJECT FOR EACH ROW BEGIN UPDATE VEHICLE SET project_name = :new.project_name WHERE project_name = :old.project_name; UPDATE…
-
0
votes1
answer592
viewsA: How to stay on the same page
Removes this line window.location = "../contato.php";
submit-formanswered Xeoon 127 -
3
votes2
answers321
viewsQ: Problem with hasNext() Java
Hello, I have a problem, I scan a txt file, then I invoke a method to go counting the lines of this file, after returning me the number of lines (to give the size to the String Array equations)I…
-
0
votes1
answer106
viewsQ: Time difference in units
Right now I have the time difference working but as I have it makes the difference in hours, that is, from 11:00 to 12:30 the difference is 1:30 and I enter 1.30, but I wanted him to enter 1.50. I…
-
0
votes2
answers1463
viewsQ: Receive php Json values in Javascript for Chart.js charts
Hurrah, I have 2 graphics and wanted to bring them values from the database so I use php and bring the values with Json as follows: $pe= array(); $pe['fechados'] = $total_fechados; $pe['aguarda'] =…
-
2
votes1
answer3144
viewsQ: Two charts on the same page with Chart.js
I wanted to put two graphs on the same page only one appears to me. <div id="canvas-holder"> <canvas id="chart-area" /> </div> <div id="canvas-holder"> <canvas id="pie"…
-
4
votes1
answer144
viewsQ: Retrieve data. Txt php in reverse
I saved the user logins, but when printing these on the screen appear in order of insertion, but I wanted to present me the data from the last to the first. The code I have to present and paginate…
-
0
votes3
answers61
viewsA: BD Results Count for pagination
It’s right here with PDO $stmt2 = $conn->prepare("SELECT count(*) AS total_records FROM cl"); $stmt2->execute(); $total_records = $stmt2->fetch(PDO::FETCH_ASSOC)['total_records'];…
-
0
votes3
answers61
viewsQ: BD Results Count for pagination
I’m having a problem, I want to know how much data there is in the database, but with this code is returning -1 I have already used this code for other jobs (only with mysql), in this case it is…