🚀 مُصادَق: تحديث برمجي جديد 2026-05-03 02:38
This commit is contained in:
7
describe.php
Normal file
7
describe.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->load();
|
||||
$db = new PDO("mysql:host={$_ENV['DB_HOST']};port={$_ENV['DB_PORT']};dbname={$_ENV['DB_DATABASE']}", $_ENV['DB_USERNAME'], $_ENV['DB_PASSWORD']);
|
||||
$stmt = $db->query("DESCRIBE invoices");
|
||||
print_r($stmt->fetchAll(PDO::FETCH_ASSOC));
|
||||
Reference in New Issue
Block a user