Posts by Aprendizzz • 96 points
9 posts
-
3
votes3
answers13799
viewsA: Delete a particular repository from github
Go to your repository, Settings, delete repository. When you click to delete, it will open a pop-up in which you write the repository name.
-
-1
votes2
answers53
viewsQ: Doubt SELECT Mysql
In a certain select I can reference two tables by foreign keys. Ex:Ida/ Idb Ida = Idb Table A has a column called C Table B has three columns called D, E, F Both tables have similar contents to…
-
0
votes1
answer138
viewsA: Pass variable in UPDATE PDO PHPERRO: Pdostatement::execute(): SQLSTATE[HY093]
@$c_id = "2"; @$c_data_andamento = date("Y-m-d H:i:s"); $pdo = $dbconn->prepare("UPDATE contato SET c_data_andamento = :c_data_andamento WHERE c_id = :c_id"); …
-
1
votes3
answers596
viewsA: Questions about the Count sql command
Count() returns the line numbers. For example we found 5 records with cargo > 40, then he will return 5. To add the value of the 5 records for example use sum().
sqlanswered Aprendizzz 96 -
0
votes2
answers85
viewsA: Bootstrap with loop
Pass only the lines in the loop <div class="container" id="container"> <h2>Ambientes Monitorados de <?php echo $nome_equipe?></h2> <table class="table table-striped">…
-
0
votes1
answer138
viewsQ: Pass variable in UPDATE PDO PHPERRO: Pdostatement::execute(): SQLSTATE[HY093]
@$c_matricula = $_POST['numero']; @$data_aa = $_POST['data_aa']; @$data_ff = $_POST['data_ff']; if(isset($data_aa)){ @$dataa = date("Y-m-d H:i:s"); $pdo = $dbconn->prepare("UPDATE contato SET…
-
0
votes1
answer509
viewsQ: Sort vector from smallest to largest
PHP: array_push($var, $linha['data']); array_push($var, $linha['data_t']); array_push($var, $linha['data_f']); usort($var);// Adicionei essa linha para tentar formatar as datas da menor pra maior…
-
1
votes2
answers78
viewsQ: Is going into loop
I’m taking the values of the array and trying to pass the for, but it eventually getting into loop and bringing the values 1,2,3,4,5,6.... array_push($var, $linha['data']); array_push($var,…
-
1
votes1
answer34
viewsQ: Make cumulative value in loop
var previsto = []; for(var i = 0; i < $(".previsto").length ; i++) { previsto[i] = $(".previsto").eq(i).text(); } I need to take the next amount adding up the previous one, to have a buildup.…