What is the correct syntax for passing GET variables in PHP forms?

When passing GET variables in PHP forms, you need to set the form method to "get" and include the variables in the form action attribute using the $_GET superglobal. This allows the form data to be appended to the URL as query parameters when the form is submitted.

<form method="get" action="process.php">
  <input type="text" name="username">
  <input type="submit" value="Submit">
</form>
```

In the process.php file, you can access the submitted GET variables using the $_GET superglobal like this:

```php
$username = $_GET['username'];
echo "Hello, $username!";