Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isset($_POST['licz'])){
- $select =$_POST['licz'];
- $opcja1 = $_POST['atmnpas'];
- $opcja2 = $_POST['pasnatm'];
- switch ($select1) {
- case $opcja1:
- $wynik = $a * 100;
- echo $wynik;
- break;
- case $opcja2:
- $wynik = $a*0.9869;
- echo $wynik;
- break;
- default:
- echo "Blad";
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement