我有这样的:简单的PHP按钮,可向
echo "<form method='post' action='{$_SERVER['PHP_SELF']}?pagenum=$pagenum'>";
echo "<input type='hidden' value='";
echo htmlspecialchars($pesquisa);
echo "' name='pesquisa'><INPUT TYPE='submit' VALUE='Proxima pagina'></form>";
但我只需要一个按钮,点击,第一次的时候,发送到第二页。当它在第二页上再次点击时,发送第三页,等等。我如何以简单的方式做到这一点?
我很确定我已经发布了一个可能的解决方案到您之前的问题之一:http://stackoverflow.com/questions/8705013/i-use-post-and-index-is-undefined – jeroen 2012-01-02 21:30:33
http重复://stackoverflow.com/questions/8705013/i-use-post-and-index-is-undefined as @jeroen已经说过了。 – vdbuilder 2012-01-02 21:47:16