Posts by João Victor • 328 points
13 posts
-
0
votes1
answer105
viewsQ: How to display a message after deleting a record using php?
I have a page with a list of data and for each record I have the option to delete. When I click the delete button, before performing the action it checks in a controller file which action was…
-
0
votes1
answer49
viewsA: A . CSS for "Above the Fold" and another . CSS for "Below the fold" - Is it worth it?
Based on your doubts, I believe that the best solution taking performance into account, would be to put all the code in a single file and then minify the same. Of course, always keeping an…
-
0
votes3
answers77
viewsQ: Problems when generating schedules dynamically
I am using the following script to dynamically generate hours between a Start Value and a End Value with a time interval. For example: From 8:00 am to 3:30 pm, with a 15-minute break between times.…
phpasked João Victor 328 -
0
votes2
answers206
viewsQ: Variable losing value in php
I have the following problem. I have a list of records with name, age and phone for example. In each record I have a button to view all the information of this registration. When I click on this…
phpasked João Victor 328 -
2
votes1
answer380
viewsQ: Header php Location is inserting file instead of redirecting
When I log in to my form, after checking if the user is valid there should be redirection to the home page. But when using header('location: home.php'); is being inserted the contents of the…
-
2
votes2
answers59
viewsQ: Set loading display time
I have the following code that I use to send the form data to the PHP file. function loginRequest() { // Declaração de Variáveis var usuario = document.getElementById("txtusuario").value; var senha…
-
0
votes1
answer867
viewsQ: View day of the week as date used in PHP query
Good afternoon everyone, I’m having a question on a course project. I have a form where I look for scheduled patients on a certain day of the month. When I perform the appointment to present the…
-
3
votes1
answer1652
viewsQ: Check that reCAPTCHA has been marked
I am using an email form in PHP with POST method and use Google Recaptcha. I need to check in Javascript or jQuery, if reCAPTCHA was marked only then enable the send button. The current code: var…
-
2
votes1
answer544
viewsQ: Would it be possible to identify if a DIV is over another DIV using some type of script?
I have a DIV A, which moves on screen by clicking on the keyboard keys. It would be possible to identify if this DIV A is on one DIV B using some script and trigger an event when being recognized…
-
1
votes1
answer365
viewsA: Position image relative to another even changing resolution
First, the problem is occurring because you are using position: Absolute on both elements. By his explanation to an earlier answer this black triangle is also an image as well as the logo. A…
-
2
votes2
answers17232
viewsQ: Swap class with javascript or jquery
I have an html menu with a class menu-disable which is when it’s closed, I need to change this class to menu-active which will be when it’s open. I don’t know much about javascript and I needed to…
-
2
votes1
answer507
viewsQ: PHP session using class
Hello, I’m new to PHP and would like to know if you can create a class to manage the user session. It would be a function to log in and another to destroy the session. If there’s a way to create,…
-
2
votes1
answer10486
viewsQ: PHP error, "Call to Undefined Function"
Hello, I’m new to PHP and am having the following error: Call to Undefined Function Realizarlogin() What can it be ? Code to call the function: if(isset($_POST["btn-logar"])) {…
phpasked João Victor 328