All Questions

2
answers

Calculate how long it takes to perform a function

I have to create a function in JavaScript that takes all the id's from a table and makes a draw with id's of the same table so that a same id does not fall with itself, and that there is a possibility that this id can being in the other "...
asked on 26.03.2015 / 14:56
2
answers

Analysis of the machine / server using php

I am creating a system report, I honestly did not know that PHP did this, I searched and found it did, but I did not find a useful explanation, I just found PHP SYS INFO as a reference. When I say machine I mean = server / pc / machine where...
asked on 26.12.2014 / 02:36
3
answers

How to change date format in bootstrap from mm / dd / yyyy to dd / mm / yyyy

This is the error you are giving:   Uncaught TypeError: Can not set property 'pt-BR' of undefined Insert some links to format the date, second time I picked up the net and even then the date is still wrong (another format) and I got this...
asked on 03.07.2014 / 21:36
1
answer

Find ID in a column of delimiter-separated IDs in MySQL

I use a table called chat and inside it has a whole structure for my chat script and I'm trying to create chat in groups, so far so good. However, within the chat table there is a column named participantes where I enter the...
asked on 19.06.2014 / 23:51
3
answers

Call a method of a Javascript class (OOP)

asked on 19.08.2014 / 19:03
3
answers

Problems with double formatting

I have a method that receives values of type string and performs the conversion to other types, my problem is that when converting an information to double it changes its precise value that this does not happen. For example, I get...
asked on 13.06.2014 / 05:00
2
answers

How to insert a header to each N records?

How can I insert a header to each N records? Like ... <h1>CABECALHO</h1> Cadastro 1 Cadastro 2 Cadastro 3 Cadastro N <h1>CABECALHO</h1> Cadastro .. Cadastro .. Cadastro .. Cadastr...
asked on 06.10.2014 / 05:51
2
answers

Only read the first character of a string

if ($myrow['Noticia'] !== '<' && $myrow['Noticia'] !== 'Nao') { echo "Noticia mal colocada!"; } I have this code and would like to just check the first character of the Noticias column that would be this < and if...
asked on 01.02.2015 / 21:34
1
answer

How to increase select with css proportionally

I have a page in select that shows the stores that I have registered in my BD, I got a css that changed the layout of the same making it more pleasant, but I have a problem, I need this select to get bigger and when changing the size in height i...
asked on 26.02.2015 / 15:16
1
answer

PHP at MacOsx Yosemite

Hello, when I run php --version: PHP 5.5.14 (cli) (built: Sep 9 2014 19:09:25) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies But I have another version of php in the / usr / local / ph...
asked on 23.10.2014 / 23:14