how to ignore input from the user entered through the URL using php
<p>I would like others to explain how to ignore any input from the user that is provided through the URL?</p>

<p>For example; if i have a URL like <code>viewitem.php?id=23</code> and if the user replaces the id with <code>34</code> i want to redirect them to an error page even if that <code>id</code> is available, can anyone show me how to do that?</p>