Posts by Luiz Pillon • 181 points
9 posts
-
1
votes2
answers314
viewsA: count repeated fields from a column
Follow the query only to count your generos total. SELECT distinct(nome_genero), count(nome_genero) FROM generos group by nome_genero;
phpanswered Luiz Pillon 181 -
0
votes2
answers4601
viewsA: Where is php.ini being loaded from in this instance of Docker?
You can validate php get with the installation cycle from 108 to 151 dockerfile. Try fetching the . ini in /etc/php/5.6/.... must be there, but inside the box q vc created, then make the attach…
-
0
votes1
answer411
viewsA: Display user ID in PHP URL
Try it this way include "config/config.php"; try{ $conexao = new PDO("mysql:host={$servidor};port=3306;dbname={$banco}",$usuario,$senha); }catch(PDOException $error){ echo "Erro: " .…
-
1
votes1
answer694
viewsA: Shopping cart item is not removed
Changed as requested. Follow code as we speak. // JQUERY ADICIONAR AO CARRINHO DE COMPRAS $(document).on("click",".btn-adicionar-carrinho",function(e) { // esvaziar o carrinho de compras…
-
3
votes3
answers130
viewsA: Array listing with start and end
Validate the 2 values and populate an array. $inicio = '12:00'; $fim = '13:00'; $array = ['10:00', '10:30', '11:00', '11:30', '12:00', '12:30', '13:00', '13:30']; $times = []; foreach($array as…
-
3
votes1
answer1479
viewsQ: PHP 7 - Logged in user(AD) and hostname
I’ve already searched the Stackoverflow En and PT, google and only found things like getenv(), $_SERVER['user'],shell_exec() or anything that returns me data from the Web server, nothing from the…
-
2
votes3
answers4202
viewsA: Countdown PHP + Javascript
The first line error is pq Voce put the read.. $(document).ready(function() { } I imagine you are in the same php file, when it launches that <?php within the $('.count'), correct? To validate…
-
0
votes2
answers101
viewsA: Select with checkbox
Follow your updated code as you requested. <html> <head> <title></title> <link…
-
2
votes1
answer130
viewsA: How to place a vertical line within the panel class?
You can put a border on any of the blocks, just left or right, depending on the block you choose. For example: .pull-left{border-right:1px solid cor;} Have to remember that you put col-md, so when…