All Questions

1
answer

Send email using cpanel account and PHPMailer

I'm trying to send an email using my cpanel account and the phpmailler class but I'm not getting success, the code I'm using is the same as the PHPMailler documentation, how should I proceed? , would anyone have a fucnional code to share? Thank...
asked on 13.11.2015 / 17:14
1
answer

Why is @import not working correctly?

I'm trying to import a CSS inside another one but it's not working, the directory structure looks like this: style.css css / agoravou.css However, the command @import url('css/agoravou.css') screen; is not working. Does anyone kno...
asked on 30.11.2015 / 03:41
2
answers

Open PDF in java on another machine

I made a function that I can open a PDF, but this function is only working on my local machine. When I run the .jar generated on another machine, an error is issued that the PDF file does not exist. The part that performs this function: tr...
asked on 25.11.2015 / 11:14
1
answer

Problem in entity creation with one-to-one relationship

I created a test project, and I'm studying entity creation with relationships, and in that I created two entities with this relationship below: Iamabletocreatetheentity,butnotintherightway,usingthisclassbelow:packagebr.com.softplan.jpa;impo...
asked on 11.09.2015 / 18:40
2
answers

Upload Image Asp net MVC

My question is this: imagine a scenario where I have a screen that has a form, and in this form there is also upload of images. Let's suppose I fill out the entire form, and select 3 images in input type file , when submitting, there in...
asked on 20.01.2016 / 05:30
2
answers

How to remove all classes from an element using jQuery?

Instead of removing all classes individually using the remove class: $ ("# div"). removeClass ('class') For each class an element can have, is there any function that can be called and remove all classes in an element? I need this in jQuer...
asked on 13.12.2017 / 16:34
3
answers

Does every DIV have a relative position?

I heard from a development professional that:    "All div is relative, even without you setting position:relative " Is this correct?     
asked on 04.07.2014 / 16:24
4
answers

How to make MySql return utf-8?

When requesting information from my bank that contains special characters I get " " but in phpmyadmin in grouping is "UTF-8" and my site also has the UTF-8 goal what can I do to return the correct one?     
asked on 15.08.2017 / 20:59
2
answers

Differences in the use of $ this, self, static, and parent

I have a question about the "appropriate" use of $ this , self , static and parent in some specific scenarios. I know the meaning and theoretical use of each: $ this : basically references the instance of the object. Serves for non-s...
asked on 20.10.2017 / 03:44
3
answers

Why is ':' used in queries?

I was seeing a script in php and I noticed that every time an SQL query was written, this "operator" was used. A part of the code $sql = "INSERT INTO categorias (nome) VALUES(:nome)"; $stmt = DB::prepare($sql); $stmt->bindParam("nome", $...
asked on 25.07.2014 / 17:55