慕桂英3389331
给你一个最简单的示例<?phpfunction query(){........代码......}if($_POST["do"]=="yes"){query();}?><input type="button" value="按钮" onclick="javascript:cmdclick()"/><script type="text/javascript">function cmdclick(){document.location.href="?do=yes";}</script>