<commit_before><?php
$message = ""; // initial message
echo($_POST['request_data']);
if( isset($_POST['request_data']) ){
	
	// Includes database connection
	include "db_connect.php";

	// Gets the data from post
	$name = $_POST['request_data'];

	// Makes query with post data
    $statement = $db->prepare('INSERT INTO requests(name) VALUES (:name);');
    $statement->bindValue(':name', $name, SQLITE3_TEXT); // Bind Value<commit_msg>Insert Filled Value as Well, otherwise SQLite saves NULL<commit_after><?php
$message = ""; // initial message
echo($_POST['request_data']);
if( isset($_POST['request_data']) ){
	
	// Includes database connection
	include "db_connect.php";

	// Gets the data from post
	$name = $_POST['request_data'];

	// Makes query with post data
    $statement = $db->prepare('INSERT INTO requests(name, filled) VALUES (:name, :filled);');
    $statement->bindValue(':name', $name, SQLITE3_TEXT); // Bind Value
    $statement->bindValue(':filled', 0, SQLITE3_INTEGER); // Bind Value
{'fraction_non_alphanumeric': 0.17196819085487078, 'fraction_numerical': 0.003976143141153081, 'mean_word_length': 4.854651162790698, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '6163380', 'n_tokens_mistral': 314, 'n_tokens_neox': 300, 'n_words': 84}