Posts by Tony Anderson • 173 points
13 posts
-
-1
votes1
answer49
viewsQ: opening direction of the select
I have a select that is opening their options above it. I believe it is on account of the amount of results, bearing in mind that it comes from a consultation of the bank. <select…
html-selectasked Tony Anderson 173 -
-2
votes1
answer81
viewsQ: How to pass via POST Javascript information to PHP
I have a select which is assembled via database query. <?php $tl_rel = ""; $arg = array("select"=>"*","tabela"=>"TAB_RELATORIOS","where"=>"where login='{$_SESSION['login']}'"); $obj_rel…
-
0
votes2
answers119
viewsQ: onBlur (Javascript) inside a Loop For PHP
I have the following Java code: <script type='text/javascript'> function Calc(){ var qnt = document.getElementById('qnt_saida').value; var vlr = document.getElementById('vl_unt_org').value;…
-
0
votes1
answer139
viewsQ: Javascript function inside a Loop For PHP
I have a JS function to hide/show table row, the same is inside a loop for. However I’m having difficulties to activate it. When I run such a function outside the loop it works perfectly, but when I…
-
0
votes1
answer96
viewsQ: Hide row from a table by Javascript
I would like to know how to show and hide an entire row from a table in PHP, using javascript or another function. I used this function, but when I use it in a onclick, the line to which it was…
-
0
votes2
answers621
viewsA: Group [group by] SQL Firebird
Thanks in advance for all your help. In conversation with a co-worker, I explained my problem and the same gave me the following suggestion: Do the select the way it is, and in the php page itself…
-
0
votes2
answers621
viewsQ: Group [group by] SQL Firebird
I wonder if there is a way I can make a query where I can bring fields that are not in my group by. I have the following code: select sum(TAB_FATURAMENTO.vl_item),CLIENTE.insc_cnpj from…
-
0
votes1
answer302
viewsQ: Redirect page through a select php
I would like to know how to redirect a page through a select, given that I need the value of the same. <select name="setor" id="setor"> <option value="">Selecionar Setor</option>…
phpasked Tony Anderson 173 -
5
votes2
answers10554
viewsQ: Select with "different" expression with two conditions
I wonder if there’s any way to make a select using a where for a field with the parameter other than < >, where it has two or more items. To facilitate follow example: select * from…
-
1
votes1
answer1810
viewsQ: How to convert dates into varchar to date in SQL `Firebird`?
How to convert dates into sweep for date? I’m having difficulties in performing searches between dates, due to this discrepancy in the database where I perform the query. When I enter my line of…
-
-1
votes6
answers32941
viewsA: Convert varchar to date in SQL
After thorough analysis of the bank tables, we discovered (my manager and I), that the problem is in the field itself, the same not recognizing the means of conversion. So the way we found to make…
-
5
votes6
answers32941
viewsQ: Convert varchar to date in SQL
You can convert dates into sweep for date. I’m having difficulties in performing searches between dates, due to this discrepancy in the database where I perform the query. When I enter my line of…
-
2
votes3
answers2679
viewsQ: Convert number to date
Good afternoon, I wonder if there is a way to convert number to date in PHP. Example, in Excel the number 42873 is equivalent to date 18-05-2017. And I have how to do the opposite too. Is there a…