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