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