Posts by Luís Fernando Guedes • 171 points
5 posts
-
0
votes2
answers345
viewsA: Nodejs error and MSSQL module
Have you tried the recommended method in the documentation through async/await? const executeQuery = async (query) => { try { const pool = await sql.connect(config); const result = await…
-
2
votes1
answer2831
viewsA: break line Node.js using Fs
Have you tried concatenating the \r\n at the end of what you want to be each line?
node.jsanswered Luís Fernando Guedes 171 -
4
votes2
answers6765
viewsA: How to create a REST service with PHP and Mysql and . htaccess
A simplified way to do this, I recommend, is through Slim Framework, developed in PHP, focusing on the distribution of REST Apis. Beginning (Source): 1) Curl -s https://getcomposer.org/installer |…
-
3
votes3
answers441
viewsA: How to make simple include script in html
One way to do this, I suggest, can be through an iframe or by embed via javascript. The simplified way to do this, is by uniting iframe and embed, you would have to ask the client to put the code in…
-
5
votes6
answers4316
viewsA: Know number of checkbox selected
A simple way to do this is through the new jQuery property, so you need to add a "key" class to your checkbox in order to be able to check: $('.checkbox').prop('checked', true);…