What is the recommended method for passing variables to a new form in PHP when linking from a table?

When linking from a table to a new form in PHP, the recommended method for passing variables is to include them in the URL as query parameters. This allows the variables to be accessed in the new form using the $_GET superglobal. By appending the variables to the URL, you can easily pass data between the table and the form.

// Table row with link to new form
echo '<tr>';
echo '<td>'. $row['id'] .'</td>';
echo '<td>'. $row['name'] .'</td>';
echo '<td><a href="new_form.php?id='. $row['id'] .'">Edit</a></td>';
echo '</tr>';
```

In the new_form.php file, you can access the passed variable like this:

```php
// Get the id variable from the URL
$id = $_GET['id'];

// Use the id variable in the form
echo '<input type="hidden" name="id" value="'. $id .'">';