mejoras
This commit is contained in:
+3
-3
@@ -17,9 +17,9 @@ try {
|
||||
ORDER BY created_at DESC LIMIT 5"
|
||||
);
|
||||
|
||||
$messages = $stmt->fetchAll();
|
||||
if ($messages) {
|
||||
foreach ($messages as $msg) {
|
||||
$conversations = $stmt->fetchAll();
|
||||
if ($conversations) {
|
||||
foreach ($conversations as $msg) {
|
||||
echo "ID: {$msg['id']}, Contenido: {$msg['content']}, Fecha: {$msg['created_at']}\n";
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user