How to store fingerprint in database using PHP?

There are mainly two ways to store fingerprints in the database using PHP

Step1: Create your table (fingerprint as data type blob).

Step2: Take the image of the fingerprint and find the details (name, size, temp _name, file type).
Step3: Store the image data in MySql table.

<?php
include('connection.php');
$sql_insert = "INSERT INTO <table-name>(<column-name>)
VALUES ('".$_GET["<column-name>"]."')";
if(mysqli_query($con,$sql_insert))
{
echo "Successfully Connected !";
mysqli_close($con);
}
else
{
echo "Connection error! ".mysqli_error($con );
}
?>

Leave a Reply

Your email address will not be published. Required fields are marked *