<commit_before><?php

    $logic = new Logic();
    $feedback ="";
    if(isset($_POST['save']))
    {
        $project_no=$_POST['project_no'];
        $ei_name =$_POST['ei_name'];
        $ei_date =$_POST['ei_date'];
        $ei_type =$_POST['ei_type'];
        $ei_payment_type =$_POST['ei_payment_type'];
        $ei_amount =$_POST['ei_amount'];
        $ref_id=$_POST['ref_id'];
        $supplier_no= $_POST ['supplier_no'];
        $client_no=$_POST['client_no'];
        $category_id= $_POST['category_id'];
        
        $save = "INSERT INTO `expense_income` (`id`, `ei_name`, `ei_date`, `ei_type`, `ei_payment_type`, `ei_amount`, `ref_id`, `supplier_no`, `client_no`, `project_no`, `category_id`) 
        VALUES (null,'$ei_name','$ei_date','$ei_type','$ei_payment_type','$ei_amount','$ref_id','$supplier_no','$client_no','$project_no','$category_id')";
         $result = mysqli_query($logic->connect(),$save);
        if(!$result)
        {
            die(mysqli_error());
                $feedback =$logic->display_error(mysqli_error($logic->connect()));
        }
        else
        {
              $feedback =$logic->display_success("Saved successfuly");
        }
    }  
        
    <commit_msg>21406993<commit_after><?php

    $logic = new Logic();
    $feedback ="";
    if(isset($_POST['save']))
    {
        $project_no=$_POST['project_no'];
        $ei_name =$_POST['ei_name'];
        $ei_date =$_POST['ei_date'];
        $ei_type =$_POST['ei_type'];
        $ei_payment_type =$_POST['ei_payment_type'];
        $ei_amount =$_POST['ei_amount'];
        $ref_id=$_POST['ref_id'];
        $supplier_no= $_POST ['supplier_no'];
        $client_no=$_POST['client_no'];
        $category_id= $_POST['category_id'];
        
        $save = "INSERT INTO `expense_income` (`id`, `ei_name`, `ei_date`, `ei_type`, `ei_payment_type`, `ei_amount`, `ref_id`, `supplier_no`, `client_no`, `project_no`, `category_id`) 
        VALUES (null,'$ei_name','$ei_date','$ei_type','$ei_payment_type','$ei_amount','$ref_id','$supplier_no','$client_no','$project_no','$category_id')";
         $result = mysqli_query($logic->connect(),$save);
        if(!$result)
        {
            die(mysqli_error($logic->connect()));
                $feedback =$logic->display_error(mysqli_error($logic->connect()));
        }
        else
        {
              $feedback =$logic->display_success("Saved successfuly");
        }
    }  
        
    
{'fraction_non_alphanumeric': 0.19730392156862744, 'fraction_numerical': 0.0032679738562091504, 'mean_word_length': 2.988599348534202, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1774649', 'n_tokens_mistral': 871, 'n_tokens_neox': 834, 'n_words': 102}