fatta modifica

Category: News | Author: eRoberto | Published: January 22, 2025

if (isset($_GET['success']) && $_GET['success'] == '1') {
    if (isset($_SESSION['user_id'])) {
        // Messaggio per utenti loggati
        $successMessage = "Your article has been successfully submitted! View your profile here.";
    } else {
        // Messaggio per utenti anonimi
        $successMessage = 'Your article has been successfully submitted! A confirmation email has been sent to your email address.';
    }
}

business