Skip to content

luckywilliams/PHP-OOP-CRUD-with-security.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PHP-OOP-CRUD-with-security.

how to use.

<?php
require_once("app/header.php");
require_once("app/database.php");
require_once("app/security.php");
require_once("app/data-validation.php");
require_once("app/crud.php");

$validation = new DataValidsation();
$security = new Security();
$crud = new Crud;

$query  = "SELECT id FROM Users WHERE email = ?";
$types = "s";
$values = array("email" => $email);
$check_id = $crud -> GetData($query, $types, $values);

?>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages