Posts by Felipe Pacheco • 55 points
6 posts
-
0
votes1
answer131
viewsQ: Global variable is not being assigned within an AJAX function
I created a global variable in Javascript and I am making an AJAX request, inside the function Success ajax, I assign the return to the global variable, but when leaving AJAX, the variable is…
-
1
votes1
answer506
viewsQ: Block Datepicker Date Range Javascript
Blocking a date range using datepicker ? Example, today is day 2, start by day, start by current day + 3 days and lock from day 20 forward of each month. maxDate blocks the next few months. I tried…
-
0
votes0
answers31
viewsQ: Time in PHP - Daylight Saving Time
Does anyone know how to set up XAMPP not to respect summer time? The date is 1 hour early, but Bolsonaro canceled summer time this year, XAMPP is not considering this and the hours are coming…
phpasked Felipe Pacheco 55 -
2
votes1
answer1135
viewsQ: Subtract 1 month in PHP date
How to reduce 1 month in a PHP date? I am trying to use this way but am getting an incorrect date $dtini = '16/09/2019'; echo date('d/m/Y', strtotime('-1 month', strtotime($dtini))); Result =…
phpasked Felipe Pacheco 55 -
0
votes2
answers1109
viewsQ: Insert error: There are more Columns in the Insert statement than values specified in the values clause
When I give an input searching data from another table, this error is returned, which may be wrong with the query ? INSERT INTO dbo.CRMRAT (IDCRMRAT, CODCOLIGADA, STATUS, TIPO, IDCRMCLIENTE,…
-
1
votes0
answers43
viewsQ: Remove value from a POST variable to not duplicate insertion
I have a problem on my site, when I click save inside a modal, it sends the data via Ajax and makes the insertion in the database, when performing these steps, I call a javascript function to update…