<commit_before><?php

if(isset($_POST['name'])){$name = $_POST["name"];}
if(isset($_POST['email'])){$email = $_POST["email"];}
if(isset($_POST['pass'])){$pass =$_POST["pass"];}

// Create connection
$con=mysqli_connect("localhost","root","",'sjb1');



// Check connection
if(!$con){
	die ('Connect Error ('. mysqli_connect_errno() . ')'
			. mysqli_connect_error());
}

$sql="INSERT INTO student(name, email ,pass ) VALUES ('$name','$email','$pass')";

if(!mysqli_query($con,$sql))
{
	die ('Error: ' . mysqli_error($con));
}




?>
<commit_msg>sign up page fixed db name<commit_after><?php

if(isset($_POST['name'])){$name = $_POST["name"];}
if(isset($_POST['email'])){$email = $_POST["email"];}
if(isset($_POST['pass'])){$pass =$_POST["pass"];}

// Create connection
$con=mysqli_connect("localhost","root","",'sjb');



// Check connection
if(!$con){
	die ('Connect Error ('. mysqli_connect_errno() . ')'
			. mysqli_connect_error());
}

$sql="INSERT INTO student(name, email ,pass ) VALUES ('$name','$email','$pass')";

if(!mysqli_query($con,$sql))
{
	die ('Error: ' . mysqli_error($con));
}




?>

{'fraction_non_alphanumeric': 0.26860254083484575, 'fraction_numerical': 0.0009074410163339383, 'mean_word_length': 6.767605633802817, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2698051', 'n_tokens_mistral': 419, 'n_tokens_neox': 400, 'n_words': 63}