What is the best practice for concatenating strings in PHP when building a URL query string from form data?

When building a URL query string from form data in PHP, the best practice for concatenating strings is to use the `http_build_query()` function. This function takes an associative array of data and constructs a URL-encoded query string. This ensures that special characters are properly encoded and the resulting URL is formatted correctly.

// Example code snippet:
$formData = array(
    'name' => $_POST['name'],
    'email' => $_POST['email'],
    'message' => $_POST['message']
);

$queryString = http_build_query($formData);

$url = 'http://example.com/process.php?' . $queryString;