Insert into table class This class should function as a simple insert into table. What do you think about it? How can I make my code better?

class addProfile{
private $profileName;
private $profileEmail;
private $profileFromName;
private $profileReplaytToEmail;

public function __construct($profileName,$profileEmail,$profileFromName,$profileReplayToEmail){
    $this-&gt;profileEmail = $profileEmail;
    $this-&gt;profileFromName = $profileFromName;
    $this-&gt;profileName = $profileName;
    $this-&gt;profileReplaytToEmail = $profileReplayToEmail;
}

public function postProfile($profileName,$profileEmail,$profileFromName,$profileReplayToEmail){
    $stmt = $this-&gt;mysqli-&gt;prepare("INSERT INTO SendingProfiles (fromemail,Fromname,Profilename,replaytoemail)
    VALUES ('$profileName','$profileEmail','$profileFromName','$profileReplayToEmail')");
    $stmt-&gt;bind_param($profileName,$profileEmail,$profileFromName,$profileReplayToEmail);

    if ($stmt-&gt;execute()){
        echo "the record added";
    }else{
        echo "Failed";
    }

    $stmt-&gt;close();


}

public function __destruct(){
    $this-&gt;mysqli-&gt;close();
}

}

$profileName = $_POST['profilename'];
$profileEmail = $_POST['fromemail'];
$profileFromName = $_POST['fromname'];
$profileReplayToEmail = $_POST['replaytoemail'];

$var = new addProfile();
$var-&gt;postProfile($profileName, $profileEmail, $profileFromName, $profileReplayToEmail)
There's very little to review.

Variable Names

Use full names for variables, avoid short forms of those words/abbreviations. For example, you wrote, $stmt, instead you could write $statement to increase the readability of the code.

Class Names

Your class name, addProfile is not really suitable to give the image of the class. Why not name it, CreateUserProfile since that is what it does?

Also, class names should be declared StudlyCaps.

Validation Checks

Why not perform validation checks for what user has input? For example check if the variables are empty or not.

Coding Standards

Your coding style does not meet the coding standards. 

Working Code

You have not provided us with a working code, as there would be an error with bind_param() because you haven't used any '?' and directly injected the variables like this, which is vulnerable to SQL injection.

$stmt = $this-&gt;mysqli-&gt;prepare("INSERT INTO SendingProfiles (fromemail,Fromname,Profilename,replaytoemail)
    VALUES ('$profileName','$profileEmail','$profileFromName','$profileReplayToEmail')");


Instead, do this:

$stmt = $this-&gt;mysqli-&gt;prepare("INSERT INTO SendingProfiles(fromemail, Fromname, Profilename, replaytoemail) VALUES(?, ?, ?, ?)");