<?php print '<input type="button" class="butodmen" value="Dodaj pojemnik" onclick=submit();self.location.href="index.php?'.SID.'&wbr=1&popt=1&dodajpoj='.$_SESSION['wybrane['.$i.']'].'&strona='.$_SESSION['strona'].'"></td>'; ?>
<?php print '<input type="button" class="butodmen" value="Dodaj pojemnik" onclick=submit();self.location.href="index.php?'.SID.'&wbr=1&popt=1&dodajpoj='.$_SESSION['wybrane['.$i.']'].'&strona='.$_SESSION['strona'].'"></td>'; ?>
onclick="getElementById('formularz').action='index.php?var=value'; getElementById('formularz').submit();"
<?php $_SESSION['wybrane['.$i.']'] ?>
<?php $_SESSION['wybrane' ][ $i ] ?>