This commit is contained in:
lizandrogd
2026-01-21 10:57:02 -05:00
parent f6a62ce360
commit 5e9220590a
7 changed files with 159 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
require_once __DIR__ . '/../config/config.php';
try {
$db = Database::getInstance();
$row = $db->fetch('SELECT * FROM conversations WHERE message_id = :mid', ['mid' => 'wamid.TEST123']);
if ($row) {
echo "FOUND:\n" . json_encode($row, JSON_PRETTY_PRINT) . "\n";
} else {
echo "NOT FOUND\n";
}
} catch (Throwable $t) {
echo "Error: " . $t->getMessage() . "\n";
}