html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<title>Arrays from User Input</title>
</head>
<body>
<h2>How's your weather? </h2>
<form method="post" action="yourfile.php">
<p>Please enter your information:</p>
City: <input type="text" name="city" />
Month: <input type="text" name="month" />
Year: <input type="text" name="year" />
<p>Please choose the kinds of weather you experienced from the list below.
<br />Choose all that apply. </p>
<input type="checkbox" name="weather[]" value="sunshine" />Sunshine<br />
<input type="checkbox" name="weather[]" value="clouds" />Clouds<br />
<input type="checkbox" name="weather[]" value="rain" />Rain<br />
<input type="checkbox" name="weather[]" value="hail" />Hail<br />
<input type="checkbox" name="weather[]" value="sleet" />Sleet<br />
<input type="checkbox" name="weather[]" value="snow" />Snow<br />
<input type="checkbox" name="weather[]" value="wind" />Wind<br />
<input type="checkbox" name="weather[]" value="cold" />Cold<br />
<input type="checkbox" name="weather[]" value="heat" />Heat<br />
<p />
<input type="submit" name="submit" value="Go" />
</form>
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.