Webserver not working as expected

My Replit webserver doesn’t seem to be processing PHP correctly.
I have a simple checkbox (code below) that when I select a value, then submit, the results always indicate that nothing was selected…
Side note: process.php keeps spawning. - Not sure why…

Screenshots, links, or other helpful context:


<!DOCTYPE html>
    <title>Checkbox Form</title>
    <form action="processs_checkboxes.php" method="post">
        <input type="checkbox" name="hobbies[]" value="Reading"> Reading<br>
        <input type="checkbox" name="hobbies[]" value="Swimming"> Swimming<br>
        <input type="checkbox" name="hobbies[]" value="Coding"> Coding<br>
        <input type="submit" value="Submit">


// Debugging: Dump all POST data

// Check if the "hobbies" array exists
if (isset($_POST['hobbies'])) {
    $hobbies = $_POST['hobbies'];

    // Loop through the array to read individual hobbies
    echo "You have selected the following hobbies: <br>";
    foreach ($hobbies as $hobby) {
        echo $hobby . "<br>";
} else {
    echo "No hobbies selected.";