(PHP) What's my mistake here?

     

The data on the form failed to saved on the database. I cannot find what's wrong here. I already checked the name of the input forms an it is all correct. I'm using PDO


if ($_POST) {  $accountuname = ($_POST['accountuname']);  $accountpassword = ($_POST['accountpassword']);  $accounttype = ($_POST['accounttype']);  $companyname = ($_POST['companyname']);  $companyproduct = ($_POST['companyproduct']);  $companyaddress = ($_POST['companyaddress']);  $companycontactnum = ($_POST['companycontactnum']);
$query = "INSERT INTO user_accounts SET USER_NAME=? USER_PASS=? USER_ACC_TYPE=?