display alert 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';
echo '<script language="javascript">alert("juas");</script>';
javascript:alert('Email enviado com Sucesso!');
javascript:window.location='index.php';