I have a form made in the previous page. In the form, I have a checklist with the options: red, green, blue.
If the user selects red, the next page's background color should be red. If green is selected, then the background color will be green. I am using PHP to do this.
Previous page
<form action="next_page.php method="POST>
<input type="radio" name="color" value="red">
<input type="radio" name="color" value="green">
<input type="radio" name="color" value="blue">
</form>
Next Page
<?PHP
$radioVal = $_POST["color"]
?>
<style>
.body{
//what goes here
}
</style>