<?php
$pvp=mysql_query("SELECT * FROM characters ORDER BY level DESC");
echo "<table><tr><th>Character</th><th>Level</th><th>Tribe</th></tr>";
while ($row = mysql_fetch_array($pvp)) {
echo "<tr><td>".($row['charname'])."</td><td>".($row['level'])."</td><td>".($row['tribe'])."</td><td><form action='/scripts/pvp.php' method='post'><input type='submit' name='pvp' value='Battle!'></form></td></tr>";
}
echo "</table>";
?>
In this script, I loop through an array and display all data stored in a variable ($pvp). I would like to add an input button at the end of each row that allows me to post that specific row to another page to use in another script. How would I do this?