All Questions

1
answer

Change image src when input value equals a given value

Good evening! I have a login input and an img with the user image. I'm trying to change the user's image when this input loses focus and the value entered matches a given value. ex: if I type in this input Potato I will change the src pointing t...
asked on 07.12.2015 / 23:47
1
answer

Comment count // and / * * / in C

I'm trying to do a program in C that opens a file .txt , .c or any other in read mode, to count the comments made with // or /* */ . I'm doing the following way: #include <stdio.h> #include <string.h> #i...
asked on 29.11.2015 / 18:47
1
answer

In a repetitive structure are there differences between working with Object or Array?

When I query the database by PHP and want to return that data with while , I usually use fetch_object() , which returns the data in type object . For example: $query = "SELECT * FROM TABELA"; $exect = $conn->query($query);...
asked on 14.12.2015 / 12:03
1
answer

How to send an object by parameter?

I have this following code snippet <p:selectOneMenu id="agencia" converter="agenciasConverter" value="#{agenciasMB.agencias.agencia}" style="width:150px"> <f:selectItem itemLabel="Selecione a Agência" itemValue="" noSelectionOpti...
asked on 30.11.2015 / 18:59
2
answers

How to run Wamp Server on a network?

I installed Wamp Server on the network, but it does not work. It turns red, move the mouse and it says "Server online". I have already modified the httpd.conf file to release the permission for all hosts and nothing. Follows: # #...
asked on 02.12.2015 / 17:06
1
answer

Transforming a datatable into array with jquery

I have as output a string with the following format. [["link"],["<iframe id='player' type='text/html' width='452' height='272' src='http://www2.camara.leg.br/camaranoticias/tv/embedAoVivo.html?width=450&height=253' frameborder='0'>&...
asked on 14.12.2015 / 04:47
2
answers

How to upgrade PHP 7.0.0RC1 to the already released version 7.0 in centOS?

Good morning, How do I upgrade PHP 7.0.0RC1 to the already released version 7.0 in centOS? Thank you     
asked on 04.12.2015 / 13:04
1
answer

Orderby in an array

Friends, I'm trying to edit a array , so that it presents the information in ascending or descending order. I'm doing the following: $Recent_Page = get_post_meta(get_the_ID(), 'imic_home_recent_property_no', true); query_posts(array('...
asked on 03.12.2015 / 19:47
1
answer

Convert $ scope to string in ng-model by AngularJS

I am in doubt, according to the Angular tutorial ng-model only accepts a $scope if it is string , giving: Error: [ngModel:numfmt] expected '1234' to be a number Possible to convert to string ? Edit: HTML code: <div moda...
asked on 07.12.2015 / 02:38
2
answers

Button next to input text bootstrap 3

I have a problem that I can not put my input file button next to my input text. I searched, tried some things I saw there and nothing. Maybe it's a silly thing, but I'm kind of new to CSS so I'm kind of lost. I made a JSFiddle with my current...
asked on 02.12.2015 / 15:36