hello I'm super stuck on this project.I have a form that echo the id of the user like this
<form method="GET" action="../download_form.php"id="<?php echo
$row["id"]; ?>">
<button class="btn-md" type="submit" >
<input type="button" name="view" value="Download" class="btn-xs" />
</form></td>
then i have this download_form.php
$stmt = $pdo->prepare("SELECT * FROM q1 WHERE id=(the id of the form from
another page)");
I want to select table from db where id = the id of the form from another page Please help.