All Questions

1
answer

How to implement a graph using amCharts?

I'm trying to implement a bar / column chart using the own tool from amCharts that uses XML but not I'm able to edit it to stick with a specific bar. What would be the simplest solution for implementation using amCharts?     
asked on 10.02.2014 / 13:46
2
answers

Automatic PHP Function

I need every day, the system send shipping requests to the post office. How can I do this automatically, without needing a user to load the page or anything? I would use the same logic of doing something automatically without user interaction...
asked on 05.04.2016 / 19:35
2
answers

jQuery switch div background specifies

I need a help with the following problem, I have the following HTML, which is part of an accordion <div id="accordion2"> <h3 class="btn-sub-main"><a>Banho</a><div class="seta-btn-sub"></div></h3>...
asked on 17.02.2014 / 19:58
1
answer

Is it correct to create a variable within an if?

Is it correct to create a variable within an if? In the code below, you create a variable inside the if, and avoid using the same filter twice. if($id = filter_input(INPUT_GET, 'id', FILTER_VALIDATE_INT)): /* Código */ endif; What do...
asked on 06.04.2016 / 22:02
1
answer

ORM in Python similar to Django

I studied the framework Django a long time and found that ORM of it was excellent. I had the idea at some point to build an application with another framework called Flask , using a framework similar to Django . I...
asked on 09.05.2016 / 18:01
1
answer

How to override equals method?

I'm trying to override the equals method for instead of validating if an integer object is equal to the other just checking if a value in this object is the same as the other. Real Scenery: Object Student being him. name and rg, and age if...
asked on 12.04.2016 / 21:06
2
answers

How to check database update from a browser?

I'm trying to make a page that updates the <div> (which has the content brought in from the database) automatically as soon as some value is entered (just like that site). I used setInterval to update (with Ajax) the <d...
asked on 12.02.2014 / 18:47
1
answer

Retrieve view value for controller

Goal: Retrieve view value for controller [HttpPost] I created a generic class with gets and sets public int ListarDadosCarteira_Resultado { get; set; } public string ListarDadosCarteira_Descricao { get; set; } public int ListarDadosCart...
asked on 27.04.2016 / 21:47
1
answer

MessageDigest class and hash with MD5 in java

I'm testing the creation of Hash using this class, and I've seen it on many sites, including SOEn , the use of excerpts similar to the following to create hashs using md5, but without much explanation of the operation (in Portuguese, at least):...
asked on 03.03.2016 / 15:28
1
answer

Is it a good practice to have the same name with the column name of the bank?

Let's say I have a input text de name="txtnome" , is it a good practice to have a column of the same name as this input in my table? Being that I'm using PDO for CRUD $st =$this->db->prepare("UPDATE $tabela SET yxtnome=:t...
asked on 11.05.2016 / 04:33