SHARE
TWEET

Untitled

a guest Apr 26th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. if(isset($_POST['s1'])){
  3.     $select1 = $_POST['s1'];
  4.     switch ($select1) {
  5.         case 'o1':
  6.             echo 'Magazyn: <br/>
  7.             Nazwa towaru: Myszka<br/>';
  8.             break;
  9.         case 'o2':
  10.             echo 'Sklep: Warszawa ulica Bermunda 24<br/>';
  11.             break;
  12.         case 'o3':
  13.             echo '<style> td { border: 1px solid black; } </style>
  14.             <table>
  15. <tr>
  16.     <td>Nazwa towaru</td>   <td>Dostępność</td>
  17. </tr>
  18. <tr>
  19.     <td>Myszka</td> <td>Magazyn</td>
  20. </tr>
  21. </table><br/>';
  22.             break;
  23.         default:
  24.             # code...
  25.            break;
  26.     }
  27. }
  28. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top