Posts by Humba • 84 points
5 posts
-
0
votes1
answer105
viewsA: php database modeling doubt
You could have only one table "readings". Where would store the date, reading, consumption, etc. Building the table with PHP makes it easier to query.
-
1
votes2
answers985
viewsA: Add parameter at end of link with jQuery
The right thing would be: var links = jQuery('a[href*="google.com"]'); links.attr('href', links.attr('href') + 'parametros_adicionais'); Remembering that code with Jquery should always be inside a…
-
-1
votes2
answers278
viewsA: How to know key values in Javascript?
There is an excellent jquery plugin for this: https://github.com/RobertWHurst/KeyboardJS
-
5
votes2
answers183
viewsA: PHP mail does not send email
There is no input with Submit name in your HTML. So, if will never run. In fact, none of its inputs has the attribute "name". Capturing a field sends via post is done through the name of this field.…
-
1
votes2
answers101
viewsA: What can I use to differentiate two POST requests in php
This depends a lot on the structure of your code. But an idea would be to pass a HTML Hidden field, with a specific code. Based on this code passed through the Hidden field you could allow or not…