Posts by Kelvin Alves • 26 points
4 posts
-
0
votes1
answer121
viewsA: Queue schema for PHP code
Hello, just add a continue on Else and it will skip to the next item. As below: <?php session_start(); set_time_limit(0); include "conexao.php"; error_reporting(E_ALL); header('Content-Type:…
-
0
votes1
answer374
viewsA: Compare values of a vector with a matrix
Good afternoon, follow example of code in c to solve the problem. Note: The code can be optimized, I did it quickly only to demonstrate. #include <stdio.h> #include <stdlib.h> #include…
-
1
votes2
answers295
viewsA: Sum json object property
In the example below the add function increments the quantity and then multiplies by the value of the product. Done, arrow the value to the total property of the object. data = { id: 6,…
-
0
votes2
answers720
viewsA: Update date at each update in a table
Good afternoon. To update fields before or after events, you need to create a Trigger. Below an example of Trigger: CREATE OR REPLACE FUNCTION trg_update_conhecimento() RETURNS trigger AS $BODY$…