Posts by Leonardo Max • 309 points
12 posts
-
2
votes1
answer62
viewsQ: Laravel Queries SQL Doubt?
I’m starting with the SQL of Laravel I searched much more I did not get an answer on how to make a AND after a where, follows example code to implement a AND. SQL: UPDATE contas SET valor_titulo =…
-
0
votes2
answers558
viewsA: Multiple if in one SQL condition
I was able to solve it this way AND IF(aci_tipo_payment = 'PE', bai_data_registration >= '{$dataI} 00:00:00', bor_data_creation >= '{$dataI} 00:00:00') AND IF(aci_tipo_payment = 'PE',…
-
0
votes2
answers558
viewsQ: Multiple if in one SQL condition
I’m trying to use 2 ifbut the result always returns empty, when I use only one if he will. SELECT aci_codigo, aci_valor_pagamento, bai_fk_pes_codigo, aci_tipo_pagamento, aci_fk_ftm_codigo,…
-
-1
votes3
answers663
viewsA: Dynamically access a JSON element
Try it this way var tmp = JSON.parse(valueDados).posts
-
1
votes2
answers215
viewsQ: Insert a dot in the penultimate variable item
I have a variable with the value "14013" and I’m trying to insert a point to have the following value "140.13" in my loop. for (var i in teste) { for (var j in (teste2[teste[i]])) { valorFinal[j] =…
-
1
votes1
answer151
viewsQ: Array receiving two objects
I have two objects and wanted to create an array this way => [{"loj_codigo":2,"loj_fantasia":"teste 1"},{"loj_codigo":1,"loj_fantasia":"teste 2";}]} I am receiving the following objects =>…
-
4
votes1
answer4093
viewsQ: How to correct serrated source in Chrome?
I’m having a problem with Google Chrome. I don’t know if it’s CSS, but the fonts declared in CSS are getting serrated mainly in Chrome. I have tried the following properties to decrease serration…
-
1
votes1
answer1351
viewsQ: ERROR syntax error, Unexpected T_VARIABLE
I have a problem and am beginner in PHP, I do not know if it is easy to fix this error. (Parse error: syntax error, Unexpected T_VARIABLE in…
-
1
votes1
answer1073
viewsQ: Lock Media Screen CSS
Good afternoon, I would like to know some way to block the user from adjusting the resolution in the mobile version of the site (by sliding two fingers). As in this example: http://gruponzn.com/…
-
6
votes1
answer1330
viewsQ: Scroll DIV content without leaving the DIV
Hello, I have a problem, I would like my DIV of the right corner to follow the content of the left until the content of the left is finished, only if I put position Fixed in the DIV of the right it…
-
2
votes1
answer3504
viewsQ: Display block with Onclick
Hello, I do not know mecher a lot with javascript and needed help, I would like to make a menu that when clicked change the display of a display div:None to display:block. My menu <div…
-
-3
votes5
answers35403
viewsA: How to align a footer element always at the bottom of the page?
Try to put a minimum height on the content above the footer. Example: min-height: 100px