Hi I am trying to add my php variable $remove into the query string so that when the submit button is pushed the action that happens is a request made to remove_friend_db.php?user= where user = contained the value of $remove.
while ($row = $result->fetch_row())
{
echo "<img src='images/$row[0]_thumb.jpg' atl='userThumbnail'>";
echo "$row[1] $row[2] $row[3]";
$remove= $row[0];
?>
<form method="GET" action="remove_friend_db.php?remove="<?php "$remove">"">
<input type="submit" value="Remove Friend">
</form>
<?php
}