Posts by Igor Dias • 109 points
6 posts
-
3
votes1
answer296
viewsQ: Period of days between two dates, when the final date is less than the initial
In PHP when I try to return the running days of a month I only get the future days: $inicio = new DateTime('2019-11-12'); $fim = clone $inicio; $fim->add(new DateInterval('P1M')); // intervalo de…
-
0
votes1
answer207
viewsQ: Problems logging in with Vue, Vuex, Xios and Laravel
I’m trying to log in an application that uses the Windows as back/api and the front with Vue/vuex/Vue-router, but when receiving the token I can’t keep the status in the store after updating the…
-
2
votes1
answer55
viewsQ: Problem showing data Many to Many
I’m having trouble displaying the result of the query. I’m not being able to display the results correctly. I have the following tables and records: CREATE DATABASE IF NOT EXISTS `livraria`; USE…
-
0
votes1
answer176
views -
1
votes1
answer38
views -
4
votes3
answers269
viewsQ: What would this Jquery code look like in pure JS?
This code snippet is to activate the . Nav class but in JS it has some options like: classList.toggle('active-nav') but to deactivate when clicking again on pure JS? follows script with Jquery!…