All Questions

2
answers

Print two arrays side by side

How to join two arrays with the index of array 1 following the index of array 2 . Join data: descricao array1= datacol1, datacol2, datacol3, datacol4 array2= collinha1, collinha2, collinha3 ,collinha4 Print like this:...
asked on 24.01.2016 / 22:45
4
answers

How to align 7 elements on the same line?

I'm developing this site in bootstrap link However, down in the specialties section, I have 7 elements on the same line. I had to use a "gambiarra technique" to align them, as I did not find a specific class that supports the 7 in the same...
asked on 13.11.2015 / 13:36
2
answers

How to insert a first line indent with css?

I do not know if the name is indentation, but how do I apply this space as in the image below in my paragraphs with css? Are there any class in the bootstrap?     
asked on 09.05.2016 / 20:24
3
answers

I do not know what this syntax is

Someone can help me with this structure, I do not know what it is, nor how it works. var variavel = { 'teste1':'1', 'teste2':'2', 'teste3':'3' }     
asked on 30.06.2016 / 22:00
4
answers

Clear the browser cache after uploading version

I have the following scenario: Each month we release new versions for our customers, and most of the time our customers call telling us that X functionality is not working the way it should. Because it is usually running a function that is from...
asked on 26.02.2016 / 16:00
3
answers

How to group SQL results by month and year?

I would like to know how I can query the MySql database and group the records by year and month. At the moment I first make a query to get the year records, then for each year I use a for () to filter the results per month within that year....
asked on 09.11.2016 / 20:36
3
answers

Set the value 0 when the number is negative

How can I assign 0 when the value in the column in MySQL is negative? Or is there some kind of data that only has positive numbers?     
asked on 15.12.2017 / 18:53
4
answers

Script making too many wrong requests

I am in the following dilemma, which may be simple for many here, however, as I am a beginner, I am experiencing a major difficulty in a system I am supporting ... When you click a button, you run a script that returns data in JSON. However...
asked on 04.08.2015 / 21:51
3
answers

How to install Composer globally in linux?

Generally, when I install Composer, I usually do this: curl -sS https://getcomposer.org/installer | php It downloads a file called composer.phar . But then I have to keep putting the folder path all the time I'm going to execute....
asked on 16.03.2016 / 15:26
3
answers

List best practice, start with fixed capacity or start without limit?

I have a scenario where I will receive a list, or an array, or any other data type of the database where I can know the size of my list before creating it, what is the advantage between newList and the newList2 in my code below? Is there any...
asked on 14.03.2018 / 11:12