Posts by Jorge Campos • 368 points
12 posts
-
0
votes2
answers170
viewsA: I cannot update because it is not recovering php Pdo id
Your problem is very simple: Your form looks like this: <form action="Crud.php" method="post" id="none"> In other words, it is using the POST method and in your PHP code you are trying to…
-
0
votes1
answer197
viewsA: error: class,interface, or Enum expected?
If your MainActivity is exactly the way you posted in your question, your problem is at the end of your class. That part of the code (below) probably belongs to your MainActivity and at this point…
-
2
votes1
answer92
viewsA: In a relational database model, should an audit table relate to all entities?
Even considering this, a question that can lead to many opinions, I will leave my contribution. My answer is Not ! Motives: Write access will be faster impacting as little as possible on your…
databaseanswered Jorge Campos 368 -
1
votes1
answer330
viewsA: View with store Procedure, mysql
Knowing that a view is the same as a table, as I explained in answer to your previous question the only thing you need to do is use this parameter as a filter for the query in the view, so when…
mysqlanswered Jorge Campos 368 -
1
votes1
answer440
viewsA: How to change the Android Studio emulator window?
Try the following steps: Select the emular window with the mouse Squeeze ALT+SPAÇO+M You are in the mode of moving the screen, use the navigation arrows to position it where you want, press Enter to…
android-studioanswered Jorge Campos 368 -
1
votes2
answers1283
viewsA: Inner Join table with multiple identical Ids
That’s the normal behavior of a INNER JOIN it makes the association of the records of one table with those equivalent in the other. If on the table contratos you have 1 record and in the borrowers…
-
0
votes2
answers1661
viewsA: Redeem values from an XML contained in a String
You can solve the problem using regular expressions. If you have the text well defined in the format that showed the code below will solve. public static void main(String[] args) { String texto =…
javaanswered Jorge Campos 368 -
1
votes2
answers261
viewsA: PHP multidimensional array union
You can try it this way (by $a the original array and $b high school): $i=0; $novoArray = array(); foreach($a as $valor) { $novoArray[] = array_merge($valor, $b[$i]); $i++; } See working here:…
phpanswered Jorge Campos 368 -
4
votes1
answer29006
viewsA: variables in mysql: declare, set, how to pick an element from a table
Given its structure it is necessary to find the amount of products purchased by each customer, this involves the field QTD_VEDIDA table ITEM_NOTA_FISCAL then a simple count in the product will not…
-
0
votes2
answers34
viewsA: Opacity in Pseudo-Element and Parent
You need to use the attribute border-radius in your CSS. See the reference in W3schools To solve the opacity problem you adjust the color of the div until it is equal to another color without…
-
5
votes2
answers4071
viewsA: Database date returning 12/31/1969
Your problem is that you are using simple quotes for the date field 'data' when you should use the crase `data` When the resultset returns to php, it sends the string data making the function…
-
1
votes1
answer1089
viewsA: IF conditional within SQL query
After the doubts raised in the comments the final query for what you need would be this: $string = " SELECT c.idClientes, c.nome FROM clientes c INNER JOIN planosclientes PC ON (c.idClientes =…