Advertisement
Guest User

Untitled

a guest
Jan 19th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1.     if (isset ($_POST['birammotor'])) AND (isset ($_POST['biramLPG'])){
  2.         $birammotor = $_POST['birammotor'] AND $biramLPG= $_POST['biramLPG'];
  3.  
  4.  
  5.  if($birammotor =='Dizel' AND $biramLPG =='MPI'){
  6.         echo "Odabrali ste Dizel motor sa MPI sistemom ";
  7.         echo $noviTrosakMjesecnoKM;
  8.         echo "<br>koji troši";
  9.         echo $potrosnjaG;
  10.        
  11.         }
  12.     elseif($birammotor =='Dizel' AND $biramLPG =='SPI'){
  13.         echo "Odabrali ste Dizel motor sa SPI sustavom ";
  14.         echo $noviTrosakMjesecnoKM;
  15.         echo "<br>koji troši";
  16.         echo $potrosnjaG;
  17.         }
  18.     elseif($birammotor =='Benzin' AND $biramLPG =='MPI'){
  19.         echo "Odabrali ste Dizel motor sa MPI sustavom ";
  20.         echo $noviTrosakMjesecnoKM;
  21.         echo "<br>koji troši ";
  22.         echo $potrosnjaG;
  23.         }
  24.     elseif($birammotor =='Benzin' AND $biramLPG =='SPI'){
  25.         echo "Odabrali ste Dizel motor sa SPI sustavom ";
  26.         echo $noviTrosakMjesecnoKM;
  27.         echo "<br>koji troši ";
  28.         echo $potrosnjaG;
  29.         }
  30.    
  31.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement