WIP: bolsa V 1.0

This commit is contained in:
2026-07-08 15:08:50 +00:00
parent 3a5e8a70e2
commit 39e5ae87ff
10 changed files with 1092 additions and 60 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
require_once __DIR__ . '/db.php';
$isin = $_GET['isin'] ?? '';
$db = (new App\Database\Database())->getConnection();
// Si vous avez aussi une table actions_jfg spécifique, remplacez 'actions' par 'actions_jfg'
$stmt = $db->prepare("SELECT * FROM actions WHERE isin = ?");
$stmt->execute([$isin]);
$action = $stmt->fetch(PDO::FETCH_ASSOC);
echo json_encode($action ? ['success' => true, ...$action] : ['success' => false]);