Change css background color with php : <p>I'm having a little problem with css.
I have to create a page with a form on which you can set your background-color by means of radio-buttons and a submit button.
But how could I actually change the css background-color in php?</p>

<pre><code>&lt;?php
            if (isset($_POST['set'])) {
                $color = $_POST['color'];
            } else {
                $color = "";
            }
        ?&gt;

        &lt;form method="post" action=""&gt;
            &lt;input type="radio" name="color" value="Red"
                &lt;?php if($color == "Red") { echo "checked='checked'"; } ?&gt;&gt;Red
            &lt;input type="radio" name="color" value="Green"
                &lt;?php if($color == "Green") { echo "checked='checked'"; } ?&gt;&gt;Green
            &lt;input type="radio" name="color" value="Blue"
                &lt;?php if ($color == "Blue") { echo "checked='checked'"; } ?&gt;&gt;Blue
            &lt;input type="radio" name="kleur" value="Pink"
                &lt;?php if ($color == "Pink") { echo "checked='checked'"; } ?&gt;&gt;Pink

            &lt;br&gt;
            &lt;br&gt;

            &lt;input type="submit" name="set" value="SET"&gt;
        &lt;/form&gt;
</code></pre>
