Untitled

mail@pastecode.io avatar
unknown
php
a year ago
315 B
4
Indexable
Never
    <?php
    include_once 'config/Database.php';
    include_once 'class/Logs.php';
    
    $database = new Database();
    $db = $database->getConnection();
    
    $record = new Records($db);
    
    if(!empty($_POST['action']) && $_POST['action'] == 'listLogs') {
    	$record->listLogs();
    }