All Questions

2
answers

JAVA - Draw Polygons (triangles, pentagons)

Well, I wanted to know if anyone could help me, I'm doing a project in which I have to draw several figures, including triangles and pentagons, I've already managed to get the rectangles to work, rectangles: import java.awt.Color; import ja...
asked on 18.12.2015 / 20:31
1
answer

ExpandableList Custom

I'm new to Android, but with an ambitious project. I'm trying to make a% custom% with two ExpandableList on items and the one on the left needs to have the background changed as per customer satisfaction. ItturnsoutthatIjustcannotseem...
asked on 29.12.2015 / 16:23
1
answer

problems with accents when running php

Good morning guys, I'm having trouble executing the code php in browser , in any browser, it does not recognize the accent. It was necessary to use the following line of code so that the accent was recognized: header('Content-Typ...
asked on 14.01.2016 / 13:30
1
answer

How to add unmatched parcels with SQL?

I have 3 tables faturas , parcelas and pagamentos . Now I need to mount an SQL to count the parcels that are not removed. I already tried SUM(CASE but it did not work. Structure of the faturas table: id_fa t...
asked on 24.01.2016 / 13:56
4
answers

Show post with ajax

I'm starting to get into jQuery only as I need on my site that a person write an opinion and it appears right below without having to refresh the page. wanted a person to enter anything in the database given that this content appears on the page...
asked on 04.02.2015 / 17:05
1
answer

How to use JProgressBar while method (return value) performs reading of XML files?

I have a little knowledge in Java and I have already researched the internet on how to use a JProgressBar while I run a method, but I have not got any examples that work according to my needs since my method returns a value. Logica = I have a Cl...
asked on 24.12.2015 / 12:44
1
answer

Can we use {variable} in CodeIgniter Views?

I know that we can use Views.html file in CodeIgniter, now I would like to know if we can use {variavel} tags directly like in Smarty. Example: <body> <h1>{msg}</h1> </body> Are there any native replacement fun...
asked on 22.12.2015 / 15:21
1
answer

Pagination hasMany Laravel 5.1

I have the following relationship in my Model Client: public function Usuario(){ return $this->hasMany('SIST\Models\Admin\Usuario', 'id_cliente'); } I pass the client data by my Controller : $cliente = Cliente::find($...
asked on 22.01.2016 / 14:31
1
answer

Sprite cut diagonally in Unity 5

I created a game on Unity 5 (directly for Android) (following the following tutorial ) but when I run it on Android the Sprites are cut diagonally like the picture below:   OBS:TestingintheUnity5environmenttakesplaceperfectlywithouterror.  ...
asked on 06.01.2016 / 21:21
1
answer

PHP function select 2 values

Good! I am creating functions in PHP with the aim of returning the difference between the date TIMESTAMP of the database and today's date, and for this I have created two functions: function getRegistos() { $query = "SELECT *, DA...
asked on 26.01.2016 / 13:21