Skip to content

Instantly share code, notes, and snippets.

@JABirchall
Created June 23, 2013 01:04
Show Gist options
  • Save JABirchall/5843309 to your computer and use it in GitHub Desktop.
Save JABirchall/5843309 to your computer and use it in GitHub Desktop.
<? for ($i=1; $i<=$pages; $i++) {
echo "<form action=\"index.php?page=".$i."\" method=\"POST\">
<input id=\"lord\" value=\"$lord\" type=\"hidden\" name=\"lord\">
<input value=\"$city\" type=\"hidden\" name=\"city\">
<input value=\"$alliance\" type=\"hidden\" name=\"alliance\">
<input value=\"$flag\" type=\"hidden\" name=\"flag\">
<input value=\"$SID\" type=\"hidden\" name=\"SID\" >
<button class=\"small align-right\" type=\"submit\" >".$i."</button></form>";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment