daily pastebin goal
7%
SHARE
TWEET

php

a guest Jan 20th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(isset($_POST['licz'])){
  2.     $select =$_POST['licz'];
  3.     $opcja1 = $_POST['atmnpas'];
  4.     $opcja2 = $_POST['pasnatm'];
  5.     switch ($select1) {
  6.         case $opcja1:
  7.             $wynik = $a * 100;
  8.             echo $wynik;
  9.             break;
  10.         case $opcja2:
  11.             $wynik = $a*0.9869;
  12.             echo $wynik;
  13.             break;
  14.         default:
  15.             echo "Blad";
  16.             break;
RAW Paste Data
Top