php alerts code example
Example 1: alert in php
echo '<script>alert("Message")</script>';
Example 2: alerta con php
echo '<script language="javascript">alert("juas");</script>';
echo '<script>alert("Message")</script>';
echo '<script language="javascript">alert("juas");</script>';