Posts by Silvio Santos • 65 points
7 posts
-
1
votes1
answer174
viewsA: Wrong date format
Solved As noted in the comments the problem was not in lines of code itself. Seeing the date_helper.php and taking into account what was suggested in the comments of the question, I saw that the…
-
0
votes1
answer174
viewsQ: Wrong date format
I have a problem and I have no idea how to solve, it is the following: The date on a system I am modifying does not show in View correctly. Is this way: 0404/0606/2018181818 9:56:19 AM Where should…
-
2
votes1
answer560
viewsQ: Unique (dynamic) or custom query?
I’m developing a system and I’m trying to simplify my life with querys basics of insert and update, and I came across a question: I must create a query for each case, or one that meets all the…
-
-1
votes1
answer61
viewsA: upload update
As Gabriel Santos commented, folder options are very important in this case, but for a good understanding of the error it is also important to isolate the possibilities. When I do uploads, I isolate…
-
0
votes2
answers120
viewsA: Edit does not edit PHP
Where Hidden field is, try not to use it, I’ve always found it a little problematic. When I have to pass this type of 'id' value, or I pass a button: <button type="submit" name="meu_botao"…
-
1
votes1
answer79
viewsA: Session in select
Only open the session on all pages you want to remove the information: session_start(); And assign the value in the session variable: $_SESSION['opcao'] = $opcao…
phpanswered Silvio Santos 65 -
0
votes2
answers31
viewsA: Get the name of the files sent by the form
if it’s the case of an upload I always get it this way: $_FILES['arquivo']['name']