All Questions

2
answers

Include html fields in the title panel

I'm using bootstrap, and I use a title panel at the beginning of the form, which informs the form name that I am, however in right I'd like to put in the case the current date if it is a new record, and the recorded date in the database i...
asked on 11.09.2018 / 20:39
2
answers

Why in PHP string can turn function?

In the example I have a function with name of funcao , which is intended only to display the value of the parameter on the screen. When you create a string with the function name and call it as a function, it will be executed:...
asked on 29.01.2016 / 17:33
1
answer

What is the simplest way to do an IS NULL with Eloquent?

I saw tutorials on the internet that the way you had to make a IS NULL is as follows: Remessa::where('campo', 'IS', DB::raw('NULL'))->get(); But I was wondering about this, because if an ORM is usually developed thinking of creati...
asked on 04.05.2016 / 17:37
2
answers

How to use arrays in Java?

It's a very early question (I'm new to Java, I came from C ++). I have to make a program that takes 4 notes of 10 students, but when I play with the "pointers" (arrays), my program returns an exception: import java.util.Scanner; class Aluno {...
asked on 08.02.2014 / 15:03
2
answers

Access items from a stack using for

I'm trying to access a position forward in the stack to make a comparison, but it's not working and I could not understand this for . Code for ( String UmToken : PilhaTokens) { System.out.println(UmToken); } Comparison I wante...
asked on 08.04.2016 / 22:27
3
answers

Creating a database for each user

I am setting up a web sales system with php and mysql , where we will have several companies registered, each company being a user that will control their sales. Our team has a question: create a banco de dados for each user,...
asked on 11.12.2015 / 02:52
2
answers

Function returns pointer to garbage, and free locks the terminal

Can anyone explain to me why I give free in pontaux the Windows terminal stops responding? And why when I pontmaior my result comes as memory garbage? The function returns a pointer to the largest value of a vector. Co...
asked on 08.02.2014 / 01:41
3
answers

How to perform change in order sequence with SQL statement

I have a form where I display for the user some phases that a particular contract needs to respect, follow the image of said form: Ihavealreadydonetheupdatethatmakestheorderchangeandisworking,myquestionisthefollowing,followingtheexampleofthe...
asked on 14.03.2016 / 18:49
4
answers

Create external html pages

I know how to create external css pages. Which is quite useful. However, I do not know if it is possible to do the same for html without using frames. This is a link to an external style page <link rel="stylesheet" type="text/css" href=...
asked on 14.02.2016 / 18:03
1
answer

What is the difference between x-www-form-urlencoded and form-data? [duplicate]

Is there any relevant difference between content-type x-www-form-urlencoded and form-data ? I always have doubts when I should use one or the other because I do not know if there are any shocking differences.     
asked on 10.12.2015 / 17:43