My PHP file will not calculate user input and won't output paragraph?
<p>Why won't " <strong>$total_pizza_size = $pizza_size;</strong> and 
                <strong>$total_toppings = $toppings * 1.25;</strong>" calculate? I made my variable in the beginning of this program and it keeps getting the error <strong>"Fatal error: Unsupported operand types in /Applications/XAMPP/xamppfiles....php on line 50"</strong></p>

<p>The paragraphs at the bottom also will not show up when i run the program. What is happening?</p>

<pre><code>*&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Your Pizza Order&lt;/title&gt;
    &lt;link href="main.css" rel="stylesheet" type="text/css"&gt;
&lt;/head&gt;

&lt;body&gt;
        &lt;h3&gt;Your Pizza Order&lt;/h3&gt;&lt;?php

    $pizza_size = array (
        "pizza_size"  =&gt; array("medium" =&gt; 7, "large" =&gt; 9, "family" =&gt; 9));

            //size
        $size = filter_input(INPUT_POST,'size');
            echo "You selected size $size @ &lt;br&gt;";

            //toppings
          $toppings = filter_input(INPUT_POST,'toppings',
                    FILTER_SANITIZE_SPECIAL_CHARS,FILTER_REQUIRE_ARRAY);

            if($toppings != NULL) {
                $num_toppings = count($toppings);
                echo "&lt;br&gt;You chose these $num_toppings toppings @ $1.25 each&lt;br&gt;";
                foreach($toppings as $key =&gt; $value) {
                    echo "$value&lt;br&gt;";
                }
            }
            //other items
            $other_items = filter_input (INPUT_POST, 'other_items',
                    FILTER_SANITIZE_SPECIAL_CHARS, FILTER_REQUIRE_ARRAY);

            if ($other_items !== NULL) {
                $num_other_items = count($other_items);
                //echo $key. ' = ' . $value . '&lt;br&gt;';
                echo "&lt;br&gt;You also chose extras $num_other_items @ $1.50 each&lt;br&gt;";
                foreach ($other_items as $key2 =&gt; $value2) {
                }
            } 

            //request
            $request = filter_input(INPUT_POST,'request');
            $request = nl2br($request,false);
            if($request != '') {
                echo "&lt;br&gt;You made this request:&lt;br&gt;";
                echo $request;
            }

            $total_pizza_size = $pizza_size;
            $total_toppings = $toppings * 1.25;
            $total_other_items = $other_items * 1.50;
            $total = $total_pizza_size + $total_other_items + $total_toppings;
            $total_f ='$'.number_format($total, 2);
            ?&gt;

    &lt;p&gt;Your total amount due on delivery is &lt;?php echo $total_f;  ?&gt;&lt;/p&gt;
    &lt;p&gt;Your pizza will be delivered
    to:&lt;/p&gt;&lt;span&gt;&lt;?php echo $address_one; ?&gt;&lt;/span&gt;&lt;br&gt;
    &lt;h2&gt;Thanks for ordering from the Pizza Place&lt;/h2&gt;
    &lt;p&gt;We will call &lt;span&gt;&lt;?php echo $phone_number; ?&gt;&lt;/span&gt;&lt;br&gt;&lt;/p&gt;
</code></pre>

<p>
*</p>