All Questions

4
answers

Convert Field Data Date to Month Mysql

In a DB table I have a Data Field (0000-00-00) and I need to do the following: Create a field next to 'Month' that takes the date Ex: 2014-08-27 and pass the 'August' value to the month field. And so on with all the records in the Data field. Ho...
asked on 27.08.2014 / 14:12
2
answers

Calculate values in real R $

Can anyone help me calculate the values in cents, transforming the value 1.6 into 1.60 . Code: $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name='entrada']"), fu...
asked on 06.05.2015 / 02:06
1
answer

How to view two files side by side in Notepad ++?

Is it possible to see two files side by side in Notepad ++? For example, in vim, the command :split does this.     
asked on 17.06.2015 / 21:06
2
answers

How to mask an input in HTML5?

For example ... I want a input unique for phone numbers. When typing the DDD it automatically receives the parentheses: (xx). When typing the rest of the numbers it splits with a hyphen, for example: (xx) abcd-efgh. And in the cases of st...
asked on 18.02.2015 / 17:33
2
answers

How to make a range with alphabet letters in python?

In PHP, when we want to do array of letters of the alphabet, we can use the function range . Example in PHP: $letras = range('a', 'z'); Result: Array ( [0] => a [1] => b [2] => c [3] => d [4...
asked on 13.08.2015 / 15:25
2
answers

What is the difference between joining an array via sum operator and the array_merge function?

To join two arrays in a new array in PHP, we can do it through the array_merge function or through the sum operator ( + ). In this case we have two examples: $a = ['stack' => 'overflow']; $b = ['oveflow' => 'stack'...
asked on 27.02.2015 / 14:24
4
answers

Deleting files inside a folder

I want to delete all files and subfolders within a folder, but without deleting it, using PHP. How can I do this?     
asked on 29.03.2015 / 23:47
2
answers

Can I put an image of the internet in an ImageButton?

It is possible to create a imageButton and within it put an image of internet . Can I do this with webView , but can it do with imageButton ?     
asked on 10.04.2015 / 14:30
3
answers

What is the meaning of this definition of values?

<script type="text/javascript"> perfBar.init({ budget: { // the key is the metric id 'loadTime': { max: 200 }, 'redirectCount': { max: 1 }, 'globalJS': {...
asked on 11.06.2015 / 15:46
1
answer

A product in Various Categories - PHP

Would you like to know how to link a product into several categories? For example: A shirt may be in the "Green / Blue / Yellow" categories and when I filter by category the product should appear in the "Green, Blue or Yellow" category. I kno...
asked on 30.03.2015 / 20:51