<?php $a = 'http://example.com/search.php?q=<script>DoSomething();</script>'; echo(htmlentities($a));
You have javascript disabled. You will not be able to edit any code.