title: Processing elseif command in php
body: <p>I am trying to produce a particular treatment algorithm based on several clinical factors. On choosing the factors from a drop-down list menu in a form, the treatment algorithm will be proposed. While using elseif php commands, I am getting a syntax error. Please help. Thanks.</p>
  
  <pre><code>&lt;?php
          if(($t == '2' &amp;&amp; ($n =='1') &amp;&amp; ($er=='positive') &amp;&amp; ($her == 'negative') &amp;&amp; ($ki == 'Low (&lt;14%)') &amp;&amp; ($g=='G1') &amp;&amp; ($ps == 'premenopause')) || (($t == '3' &amp;&amp; ($n =='0') &amp;&amp; ($er=='positive') &amp;&amp; ($her == 'negative') &amp;&amp; ($ki == 'Low (&lt;14%)') &amp;&amp; ($g=='G1') &amp;&amp; ($ps == 'premenopause')) {  
          echo '&lt;br /&gt;';
          echo '&lt;br /&gt;';
          echo "T$t";
          echo "N$n";
          echo "M0.   ";
          echo "IIВ stage";
          echo '&lt;br /&gt;';
          echo "Patient status: $ps";
          echo '&lt;br /&gt;';
          echo "ER/PR status: $er" ;
          echo '&lt;br /&gt;';
          echo "Her2/neu status: $her" ;  
          echo '&lt;br /&gt;';
          echo "Ki-67 expression: $ki";
          echo '&lt;br /&gt;';
          echo "Grade of differentiation: $g";
          echo '&lt;br /&gt;';
          echo "Molecular subtype: Luminal А";
          echo '&lt;br /&gt;';
          echo '&lt;br /&gt;';
          echo '&lt;img src="/img/Tx.png" border=0&gt;';
          echo '&lt;br /&gt;';
          echo '&lt;br /&gt;';
          echo "$LumA3_1"; }
          else
          {
          echo "That combination does not exist";
          }
          ?&gt;
  </code></pre>