Posts by Fernando Cordeiro • 399 points
12 posts
-
-2
votes1
answer1306
viewsA: Identify objects in an image with javascript/php
Research machine Learning and artificial intelligence. You need a neural network, you need to train that neural network to recognize each type of object, you need a server or a decent cluster, and…
-
2
votes3
answers2493
viewsA: How to choose the highest value of an array?
There is a space in your line, the bracket should "touch" the variable: $saldev[0] = $_POST["Tdate5"]; Also, make sure the form contains method="post" or it will send the data by GET. When sent by…
-
0
votes2
answers162
viewsA: Semantically, should I choose ul or article when displaying products?
HTML stands for Hypertext Markup Language. It is a markup language. The original goal was a structure that worked by itself, and the CSS "complementary". It’s not reality anymore. Without CSS very…
-
2
votes1
answer414
viewsA: Wrong paging on Codeigniter
I suggest two amendments: function buscaAnuncios($limit, $offset, $f_estado, $f_cidade) { $where = array( 'estados.sigla' => $f_estado, 'cidades.nome' => $f_cidade, 'anuncios.anuncio_ativo'…
-
2
votes1
answer221
viewsA: Center Text block vertically according to the size of the next div
Try to add that to the end: $(document).ready(function() { WszW = $(window).width(); gTCP(WszW); }); If your JS is before the images or before the window size is solved, this will ensure that it…
-
1
votes3
answers377
viewsA: Firefox and IE cannot find source
The first suggestion is to fix the bars, since Urls use /. src: url("wp-includes/fonts/Castlet.ttf") format('truetype'), src: local("Castlet"), url("wp-includes/fonts/Castlet.eot"),…
-
1
votes1
answer45
viewsA: Problem with checkbox
You need an array, but you are overriding the variable $cat instead of making it an array of values. Follow suggestion. <?php $result_cat = $conexao->prepare("SELECT * FROM colecoes WHERE…
-
2
votes2
answers742
viewsA: PHP search system without Mysql
"In PHP" is the biggest problem here, in my view. If the site only uses HTML files, it may be fairly simple, but regardless of how you do it you will probably have problems with HTML tags being…
phpanswered Fernando Cordeiro 399 -
1
votes1
answer364
viewsA: Why does Inner Join return repeated values?
You’re not just taking the first line? $row_alterar = $result_alterar->fetch(PDO::FETCH_ASSOC); What happens if you order it to return ALL lines (An Array will come in the case): $row_alterar =…
-
1
votes2
answers312
viewsA: Apache results in Unavailable Service after installing Nginx and hhvm
Raul, duplicate default server means your configuration file is bugged. About the confusion, put the settings of both servers to check. Taking the cue: who’s using the door 9000 is HHVM, not…
-
2
votes1
answer176
viewsA: modify an input and update
Use id this way inside a loop is unviable. Ids are UNIQUE, if you have two equal on the same page the JS gives pall. Solution (Added Video ID to Input ID): while($valor =…
-
8
votes6
answers2483
viewsA: Why is Drag-and-Drop programming rarely used?
The reason is quite simple actually. The act of programming itself does not consist in "positioning elements", but in defining functionalities. Most of what needs to be done has to be described with…