Do something like
header("Location: index.php?Message=" . urlencode($Message));
Then on index.php...
if (isset($_GET['Message'])) {
print $_GET['Message'];
}
Reference: http://stackoverflow.com/questions/11703854/php-give-alert-popup-then-redirect-the-page
No comments:
Post a Comment