echo "<input type='button' onclick=\"window.location='index.php'\" value='查询' />";
来源: http://www.phpxs.com/code/1008330/