php aler on website 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';