Posts by Helison Santos • 73 points
13 posts
-
0
votes0
answers19
viewsQ: Pass parameter dynamically to Jquery plug-in
I have a javascript/jquery code that saves a new one on my system, in this code I want that when the request fails to be executed a notification plug-in, I wanted to pass to this plug-in the data of…
-
0
votes0
answers38
viewsQ: Ajax does not recognize new values returned
I am using the following function to change the status of the Active to Inactive registration and vice versa, the first click works perfectly, but when the data is returned to the button the code…
-
3
votes2
answers128
viewsQ: Rules and Exceptions in htaccess
I’m having a hard time setting up some route rules in my .htaccess, I originally have the following (I accept suggestions for improvements): RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f…
-
-1
votes1
answer66
viewsQ: Take the values that were changed in the bank and match the new values
I have the following question. When making changes to a certain register, I need to keep the old information somewhere, I first thought of a log scheme, but it was time to take the old values, I…
-
2
votes1
answer731
viewsQ: Pick up and list months between dates of different years
I have the following question. Starting date: 01/10/2017 and end date 01/10/2018. How can I list the months between these dates? For example: October(17), November(17), December(17),…
-
0
votes2
answers667
viewsA: Page reload with cacheless Jquery (Chrome)
For some reason that I do not know (if anyone knows), the headers of the called file were not being processed before the redirect, I found that sent a larger file and redirected normal. So I added…
-
0
votes2
answers667
viewsQ: Page reload with cacheless Jquery (Chrome)
I don’t really know if the problem is the cache or the script I made or the server I’m using, but come on. I’m using this code to upload a document to the server(I haven’t evaluated security and…
-
2
votes1
answer40
viewsQ: Count only new regsitros at the bank and submit as notifications
I have the following question, I need to return in a panel that there are records that are not being shown on the screen. Type I have 10 records being displayed, are registered 2 more so I need to…
-
1
votes1
answer68
viewsA: System of scheduling of emails
In the end, there was some suggestion of how to simplify? $dias = 3; $horarios = array( 'Manhã'=>'7:00:00', 'Tarde'=>'13:00:00', 'Noite'=>'21:00:00' ); for ($i=1; $i <= $dias; $i++) {…
-
0
votes1
answer68
viewsQ: System of scheduling of emails
I have the following problem: A user performs a step of an X test, when he clicks to get the first result I need to create 9 e-mail messages to be sent to the 3-day logo, morning (7:00), afternoon…
-
1
votes2
answers737
viewsQ: How to use one class functions in another?
In a project I was using a class to define functions for the entire project, and as the project is growing the need arose for the creation of a new file with new class and function. In this case I…
-
1
votes1
answer1338
viewsQ: Problem with BETWEEN dates
I need a light for a question, I have a data filtering system (search) where I have to search for two Initial and Final dates. Since I have these two columns in the database, then when I run the…
-
0
votes2
answers461
viewsQ: How to recover the `mysqli->insert_id`from within this function, in addition to the query return?
public function executar($sql){ $con = new conexao(); $con->abrir(); $re = $con->mysqli->query($sql); // Preciso retornar esta informação tambem: $last_id = $con->mysqli->insert_id;…