What is the recommended method in PHP to pass form variables in a URL?
When passing form variables in a URL in PHP, it is recommended to use the GET method. This involves appending the form data to the URL as query parameters. This method is commonly used for passing small amounts of data between pages.
```php
<form action="process.php" method="get">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit" value="Submit">
</form>
```
In the above code snippet, the form data will be passed to the "process.php" script as query parameters in the URL. The URL will look something like "process.php?username=johndoe&password=secret".