title: Fatal error: Unsupported operand types in C:\xampp\htdocs\nota\nota.php on line 8
body: <p>I can't fix this problem i had tried to see any error on html but it is all OK in html, the problem it is: </p>
  
  <blockquote>
    <p>Fatal error: Unsupported operand types in C:\xampp\htdocs\nota\nota.php on line 8.</p>
  </blockquote>
  
  <pre><code>&lt;?php 
      $ex1=$_REQUEST["txtEx1"];$ex2=$_REQUEST["txtEx2"];$ex3=$_REQUEST["txtEx3"];
  
      $PesoEx1=$_REQUEST=["txtPesoEx1"];$PesoEx2=$_REQUEST=["txtPesoEx2"];$PesoEx3=$_REQUEST=["txtPesoEx3"];
  
          $mediaPeso=$PesoEx1+$PesoEx2+$PesoEx3;
  
          /*this is the line 8*/$mediaNotas=(($ex1*$PesoEx1)+($ex2*$PesoEx2)+($ex3*$PesoEx3));
  
          $mediaFinal=$mediaNotas/$mediaPeso;
          echo "&lt;br/&gt;Media:".$mediaFinal;
  
  ?&gt;
  </code></pre>