how to show an alert in php code example
Example 1: alert in php
echo '<script>alert("Message")</script>';
Example 2: alert js in php
javascript:alert('Email enviado com Sucesso!');
javascript:window.location='index.php';
echo '<script>alert("Message")</script>';
javascript:alert('Email enviado com Sucesso!');
javascript:window.location='index.php';