Posts by Alexandre Sousa • 345 points
10 posts
-
0
votes1
answer490
viewsA: returns data with module.Exports Node js
I managed to solve with the help of a friend and the code I stay that way /** * Autor: Guilherme Kaercher * @param {*} app * @param {*} req * @param {*} res */ module.exports.menu = (app, req, res)…
-
0
votes1
answer490
viewsQ: returns data with module.Exports Node js
I’m having trouble returning data using module.Xports, here’s an example of how I’m trying to do it module.exports.menu = (app,req,res)=>{ var fs = require('fs'); var patch = 'public/menu'; var…
-
2
votes2
answers131
viewsQ: Extract key/value pair from querystring
I have this code where I get the value of a post and ajax. $string = 'nome=Alexandre+Sousa&cpf=0000000000000&email=sousa.akira%40gmail.com&site=www.uniaomaker.com.br'; $dados =…
-
-3
votes1
answer1270
viewsQ: Dynamic table with PHP
I am creating a dynamic table using PHP. The problem and the following created a field to modify the values of the variable $conteudo table body however can’t change more than one table field…
phpasked Alexandre Sousa 345 -
-3
votes1
answer1033
viewsQ: Pull results from two Mysql tables with PHP class
I created a class for dynamic generation of tables with results coming from Mysql. The syntax I use after instantiating the class is as follows: $table->topo('Menu:','menu','menu');…
-
1
votes1
answer129
viewsQ: How to print array values
This is the xml used to generate the array <?xml version="1.0" encoding="utf-8"?> <integracao> <status>2</status> <resposta> <paginacao>…
-
0
votes2
answers364
viewsA: Problem to handle XML
found the solution of the problem look for the commented line $url = "https://go.gerencianet.com.br/api/historico/xml"; $token = ""; $xml = "<?xml version='1.0' encoding='utf-8'?>…
-
0
votes2
answers364
viewsQ: Problem to handle XML
I am trying the following error when trying to manipulate an XML string This is the XML I’m trying to read: <?xml version="1.0" encoding="utf-8"?> <integracao>…
-
4
votes1
answer14365
viewsQ: Pop up with Bootstrap when loading page
How can I get a Bootstrap pop up when loading the page? <button class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Small modal</button> <div class="modal…
twitter-bootstrapasked Alexandre Sousa 345 -
16
votes5
answers7129
viewsQ: Number of weeks in a month
I would like to know how to calculate the number of weeks you have a month D S T Q Q S S 1 => Semana 1 2 3 4 5 6 7 8 => Semana 2 9 10 11 12 13 14 15 => Semana 3 16 17 18 19 20 21 22 =>…