写在<?php XXXXXXX ?>之间的点击按钮跳转的代码

echo "<input type='button' onclick=\"window.location='index.php'\" value='查询' />";

编程技巧