Posts by Drealler • 123 points
16 posts
-
0
votes1
answer30
views -
1
votes0
answers189
views -
0
votes3
answers2815
viewsA: How to import an html page into another html?
Hello, it is possible to do this using Jquery, through the load function. Example: $(document).ready(function() { $('#modal').load('modal.html'); }); Hugs...…
-
1
votes1
answer140
viewsA: Create facebook style profile link
To do such a URL, you can use a project pattern called Front Controller, where all requests from your site will be managed by index php. Example of what Urls look like with front-controller:…
-
0
votes1
answer22
viewsA: Store table data on the device.
In PHP it is not possible to do this, after all PHP is a web language that runs only on the server side. One way to do this would be to develop an application that can be in android for example, and…
-
2
votes1
answer420
viewsQ: Best way to generate Holerite, I seek a more viable solution
I developed an application that generates Holerites, and for this I need to process data from 4 tables. Employees -> Companies -> Salaries -> Discounts I want to show my user the following…
-
0
votes1
answer216
viewsA: Graphic Passing php data to js
You can get the data for your Javascript using AJAX, or you can choose to put some classes in your HTML and pick it up via Jquery or even pure Javascript. Examples: Using Jquery: $(". elements")…
-
1
votes2
answers131
viewsA: How to improve my php pagination
As @Juven_v said above you can opt for a Javascript library to page. But as its tag is in PHP the solution would be to implement a pagination using the LIMIT of the database. And another logic to…
-
1
votes1
answer2228
viewsA: Javascript does not work :(
Friend the structure should be as it is: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Teste</title> </head> <body> </body>…
-
1
votes1
answer313
viewsA: Collect Route Held GPS - Maps
For an app that uses routes, the google API is essential. For the other features here are some ideas: If the system will show the user the average speed, you could make a function that every time X…
-
0
votes1
answer1221
viewsA: Take values from a table and place in an HTML graph
I recommend that you use this library, it is very complete and simple to use. In a few minutes you will be able to generate very complete graphics. http://www.chartjs.org Now, in order for you to…
-
1
votes1
answer42
viewsQ: List 4 bank tables and account
Hello I have 4 tables: Employees, Companies, Salaries and Discounts. I would like to present a kind of Holerite. My initial idea was to bring all the information together and treat the view as…
-
1
votes3
answers100
viewsA: Generate number count by clicking
You can use a button that by clicking increments the value of the input or any other tag. Follow an example: var botao = document.getElementById('botao'); botao.addEventListener("click", function()…
javascriptanswered Drealler 123 -
1
votes2
answers273
viewsQ: Error making API requests using Axios and Vue-Resource
It was consuming data from an API using XHR and was working very well, but there were some changes to the project and the need to use Vue arose. I tried to make the same requests using Axios and…
-
1
votes1
answer62
viewsQ: How to avoid performance problems with tables that contain a lot of data?
I am developing a payroll system, in which there is a "problem' in one of its tables. Because, to control the discounts on the holerite of each employee, I thought to create a table with the name:…
-
0
votes0
answers74
viewsQ: Running dll via php and Laravel
I have a project in php with Laravel and I need to use some functions contained in a dll, I tried to use the COM(Component Object Model) class native to PHP, but the Laravel from as a class not…