All Questions

2
answers

Stretched image in Internet Explorer

On a page I'm developing, a webpage where I have an image that adjusts itself according to the field space. to do this, I used the max-width:100% property that is advised on the web to make this kind of adaptation into responsive template...
asked on 16.12.2013 / 12:18
1
answer

Adding a circle around an image in CSS

I need to make a circle around a div with photo, but my image is not centering on the expected circle, having this result: Itriedtodothis: #avatar { margin: 0 auto; background-image: url('http://i.stack.imgur.com/Dj7eP.jpg'...
asked on 06.12.2018 / 13:52
2
answers

Problem connecting to SQL Server 2012 database in IIS

I can not run queries from my system in IIS, when I run in Visual Studio I get the result quietly. The error I get when trying to do something is as follows:    System.Data.Entity.Core.ProviderIncompatibleException: An error   occurred whi...
asked on 22.03.2014 / 03:06
4
answers

Swap text by clicking on it to show / hide an element

I have the following example made in JavaScript, of which is a text written "See more", that by clicking on it you are enabled to see more text: JSFiddle Example Code <head> <title> Javascript demo - expand/collapse t...
asked on 20.02.2014 / 11:18
2
answers

INSERT INTO Does not send the data to the database

I have the following code: $con=mysqli_connect("localhost","esferinf_fpessoa","*****","esferinf_factura"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql = ($con, "...
asked on 24.03.2014 / 21:50
1
answer

Problems with PhoneGap

I discovered this PhoneGap a short time ago, but today I wanted to meet you. Well, as I said on the site, I needed to download NodeJS and run a command in CMD to install PhoneGap. After this, you needed to create a folder for PhoneGap to regi...
asked on 22.01.2014 / 00:22
2
answers

Style an input type = 'number' to change the arrows

How to customize input type='number' as the following image? Clickingon+/-addsorsubtractsthenumberinsidethebox.Currentlymycodeis:.bedrooms=f.input:bedrooms,:label=>false,as:"number", placeholder: 'Quantos quartos?', min: 0 which...
asked on 12.10.2018 / 22:48
2
answers

timediff () limited to 838: 59: 59, how to solve?

DBMS: MYSQL Problem: I am adding HOURS to a TIME field type, and the expected result is above 838: 59: 59, but it is visible only up to this limit. How to solve? SELECT he.empresa, SEC_TO_TIME(SUM(TIME_TO_SEC(CASE WHEN time...
asked on 14.04.2014 / 19:30
2
answers

What is the size of a memory address?

What size of a memory address? I think a memory address has 32 bits, but I'm seeing in a debugger a int , where it separated 4 addresses for it. So, is an address equivalent to 32 bits? Why did you separate 4 addresses and 32 bits...
asked on 18.03.2015 / 00:06
2
answers

How to access variable from another controller - CakePHP

How do I access variables of another controller ? For example: I have controller X , and in action index , I create a variable (or a constant). From controller Y , I want to access the value of the variable (or cons...
asked on 10.02.2014 / 21:46