how to make alert on php code example
Example 1: show alert in php
echo '<script language="javascript">alert("juas");</script>';
Example 2: alert a php variable
echo '<script type="text/javascript">alert("'.$error.'");</script>';
echo '<script language="javascript">alert("juas");</script>';
echo '<script type="text/javascript">alert("'.$error.'");</script>';