title: How to show error as alert box in PHP
body: <p><br>
  I want to show error as window browser alert
  like - <a href="https://www.royaliker.net/index.php?i=Username/Password%20was%20wrong.%20Try%20again." rel="nofollow">Click Here</a>
  <br>But i want to use URL 
  as - <a href="http://www.hubliker.com/?code=100" rel="nofollow">Click Here</a><br>
  Is there any way to use?<br>
  I Have Code Below:<br></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  if(isset($_GET['i'])){
  echo '&lt;script type="text/javascript"&gt;alert("INFO:  ' . $_GET['i'] . '");&lt;/script&gt;';
  }
  ?&gt;</code></pre>
  </div>
  </div>
  </p>