<?php echo "<script> alert('Data insert successfully'); window.location.href='index.php'; </script>"; ?> Post Views: 241 Post navigation How to set SameSite cookie in xampp apache server ? Only Digits validation using JavaScript