Radio button and PHP
<p>I have a question about radio buttons in html and linking into php. And i dont know how to link it without the name part because i need the name to be all 1 otherwise you can select every radiobutton. My second question is how do i link the button into php. </p>

<p>This is my HTML code:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;Pizza&lt;/h1&gt;
        &lt;form method="POST" action="pizza.php"&gt;
            Wat op pizza:&lt;br&gt;
            &lt;input type="radio" value="" name="pepperoni"&gt;Pepperoni&lt;br&gt;
            &lt;input type="radio" value="" name="ananas"&gt;Ananas&lt;br&gt;
            &lt;input type="radio" value="" name="ansjovis"&gt;Ansjovis&lt;br&gt;
            &lt;input type="radio" value="" name="broccoli"&gt;Broccoli&lt;br&gt;&lt;br&gt;
            &lt;input type="submit" value="" name="Bestellen" value="Bestellen"&gt;&lt;br&gt;
        &lt;/form&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>So how do I say when pepperoni is selected echo "You ordered pepperoni pizza."
This is my PHP Code:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;?php 
        $pep = $_POST["pepperoni"];
        $ana = $_POST["ananas"];
        $ans = $_POST["ansjovis"];
        $bro = $_POST["broccoli"];

    ?&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>