Posts by George Neto • 156 points
3 posts
-
1
votes1
answer148
viewsA: How to read a certain line of multiple files in Java
Your for is wrong. You are using 'directory.length()' in the loop condition for(int i = 0; i < diretorio.length(); i++){ but should be considering the value 'file.length', after all, it is in…
-
1
votes1
answer154
viewsA: by pressing enter, cmd opens but closes even not completing all commands
You are forgetting to use the '&' in the scanf... ..., &valor1) ... ..., &valor2) ... ps: also has a wrong formatting in your second printf(), just replace the char $ by %.…
canswered George Neto 156 -
2
votes1
answer39
viewsA: Receiving and Manipulating array with ajax
$dados['tipo_especializacao'] = $tratamento->tipo_especializacao; this value is overwritten for each item found in the database and on behalf of the $this->db->order_by('idTratamento',…