All Questions

3
answers

Calculate on which days of the week the days of the month fall

I created a javascript function that assembles a calendar. I need this schedule to work according to the number and days of the week of the given month. Ex ( August 1st fell on a Tuesday ). I also need that when I change the month my schedule wi...
asked on 28.08.2015 / 14:46
3
answers

How to make background that repeats with sprites?

I was creating a button with background: done with a sprite , however, it all goes wrong, I want it to look like this: But it's all bugged, like this: MyCSS:.botao{background:url(http://testetabela.esy.es/botoes.png)00;col...
asked on 04.05.2014 / 05:23
5
answers

Problem with calculator program

Good morning, I would like to know, because my calculator program is not printing the value of the operations? Below is the code: #include <stdio.h> int main (void) { float A, B; char op; scanf("%f", &A); scanf("%...
asked on 28.04.2015 / 16:10
3
answers

Convert object to json in php

I'm trying to create a class that saves objects of type Conta to a json file, however, when saving the file, the object information is not saved, just this:    [[], {}] My class that is reading and saving in json is: class JSONCu...
asked on 10.11.2015 / 18:13
2
answers

Can I change the vertical order of divs by CSS?

I have the following layout of an automatically generated page: I'dliketobringtheSource,totheDate(justbelow).ButIcannotchangearrangementofgeneratedelements.IcanonlychangeatemplatewiththeexternalHTMLelements,adivoutofallthatcontent,CSS.Thispag...
asked on 11.06.2014 / 15:58
4
answers

Div inside another broken div

How to insert a div into another div without any of them breaking the line. I want to do it this way because I'm developing a clan website and in the index you have to have the login button or the registry, I did that but when I ran the html...
asked on 27.11.2015 / 19:30
1
answer

How do I get current url in Javascript?

I'm using jQuery. How do I get the current and complete URL path, I want to assign it to the current url variable. $("#id_ativo").change(function(){ $.ajax({ type: "POST", url: url_atual, ...     
asked on 23.07.2015 / 22:34
2
answers

How to split a string into array in JavaScript?

There is an elegant way to split a string into an array based on the example: var x = "FAT* FAT32*"; And that would result in something like this: x[0] = "FAT*"; x[1] = "FAT32*";     
asked on 22.01.2015 / 14:24
3
answers

Problem with records (Column count does not match value count at row 1)

I'm having the error "Column count does not count value at row 1" when I try to register. I have already checked my DB and everything seems to be in order but nothing to solve this error. My registration code. public void action...
asked on 18.11.2014 / 00:31
4
answers

Insert cities into the database

Hello, I am creating a database, and I will have information from Brazilian municipalities, I imagine that I am certainly not the first to need this information, but I am not aware if there is any way to do this automatically, I can download thi...
asked on 05.03.2015 / 13:24