All Questions

1
answer

Has anyone ever been able to use jQuery File Upload?

I refer to this link link. The documentation is very vague. I already changed the "action" of the "form" but without success. Html5 form: <form id="fileupload" action="bloco_img_upload.php" method="POST" enctype="multipart/form-data">...
asked on 22.04.2014 / 17:43
2
answers

Invoke method of an object - reflect

Is it possible to invoke a method from a content of a String variable? for (Object vlr : dados) { String metodo = "getCodigo()"; contato.setAttribute("codigo", vlr.metodo); }     
asked on 24.09.2015 / 20:15
3
answers

Create markup with predefined symbols

I did not know how to choose a specific title in the face of my doubt, so it was this very vague way. I've been trying to do the following for a while: Assuming I have <p> : <p>Olá, $está tudo$ bem?</p> I ne...
asked on 15.11.2015 / 23:05
1
answer

What's the difference between #include filename and #include "filename"?

Why we use #include <filename> and #include "filename" When to use each?     
asked on 04.01.2017 / 13:36
3
answers

Show age in years in php

I would like to get through the information date, the person's age in years: For example: 06/09/1991 - > 24 years 05/12/1998 - > 16 years old Suppose I have these dates in php $data1 = new DateTime('19910906'); $data2 = new DAte...
asked on 18.11.2015 / 03:06
1
answer

Div Can Be Dragged

I would like to allow users to move some things from my site. Of the type, the user could drag the menu somewhere else to better position the reading.     
asked on 17.05.2015 / 00:45
1
answer

How to get current directory name in PHP

I searched Google and here in SOpt, but I did not find any sites, or ask here to answer this question. Example: I'm on page index.php which is in /5/index.php , then only 5 should be caught. How to print this on the pag...
asked on 20.12.2016 / 06:48
2
answers

What is @ in a view and controller?

I program in PHP and am starting to learn how to program in C # ASP.Net MVC, however I have some questions: What is the @ (arroba) serving in both the controller and the view ? What is the purpose of these { get; set; } calls th...
asked on 05.10.2015 / 18:06
2
answers

How to put icon in JOptionPane buttons?

How do I put an icon in the "Continue" and "Cancel" Buttons that appear in the JOptionPane ?? window The case is represented below: public void metodo(){ JPanel panel = new JPanel(); JLabel label = new JLa...
asked on 19.04.2018 / 20:35
1
answer

Markdown not working on README on Github?

Just put for example in the file README the symbol # before a title that Github automatically transforms to h1 or has to configure or download something for Markdown to work.     
asked on 04.08.2017 / 21:41