When user click the button, php code is executed. After that, the page is refresh. Here is my code.
<?php
}
//If click on button
if (isset($_POST['deliver_confirmation']))
{
//Update payment meta of deliver_status
$meta['deliver_status']= 'Đã giao';
edd_update_payment_meta( $payment->ID, '_edd_payment_meta', $meta);
//REFRESH CURRENT PAGE CODE HERE
//echo '<meta http-equiv="refresh" content="5" />';//DOES NOT WORK
}
?>
Please tell me how can I refresh, or redirect to current page.