Posts by Guilherme Freitas • 119 points
6 posts
-
1
votes1
answer77
viewsQ: Date Picker Jquery display in d/m/Y format and write to database Y-m-d format
I am using this datepicker in my project, already this configured as you can see below the Dateformat in d/m/Y format, more like when I went to save in the bank it would convert to Y-m-d format, how…
-
1
votes1
answer32
viewsQ: Print information from a php file that generates json
My.php data file generates a json on the screen with the database data, as I could do to take this generated json data and print it to a table for example?…
-
1
votes1
answer114
viewsQ: INPUT VALUE with date Y-m-d format, but when showing on the screen show in d/m/Y format
Currently my INPUT is like this, but it prints on the screen in this Y-m-d format, there is some way to make it display on the screen the date in d/m/Y format but continue with the value in Y-m-d…
-
2
votes1
answer421
viewsQ: Multiply SELECT value with INPUT value
How I could multiply the value of a SELECT with an INPUT and display it in another INPUT? <!-- MULTIPLICAR ESSE SELECT --> <select name="papel"> <option value="">Tipo…
-
6
votes2
answers1324
viewsQ: Return 0 when SUM is NULL
When you find no results you return to me NULL, how can I make the search return me 0 when it is NULL? SELECT SUM(coluna1 + coluna2 + coluna3) FROM table WHERE nome='funalo' AND MONTH(data) = 09 AND…
-
0
votes1
answer34
viewsQ: Problem in consultation
You are giving the error Warning: mysqli_num_rows() expects Parameter 1 to be mysqli_result, Boolean Given in. Can anyone help me? $mes = date('m'); $ano = date('Y'); $sql = mysqli_query($conn,…