<tr> <td class="tabela_pomoc">Port</td> <td class="tabela_pomoc"> <select name="port" onchange="this.form.submit();"><option value="">Wypierz Port</option> <?php $port = "SELECT * FROM serwer WHERE port='$_POST[port]'"; $por = "SELECT * FROM zamowienia WHERE port='$_POST[port]'"; if($port[port] <> '') { if($por[port] <> '') { } } else { $port = "SELECT * FROM gry WHERE id='$_POST[nazywamy]'"; $mine = $port[portod]; $maxe = $port[portdo]; for ($c=$mine; $c<=$maxe; $c++) { { $_SESSION['port']=$_POST['port']; } ?> <?php } } ?> </select> </td> </tr>
jak moge zrobic żeby te żeczy kture nie byly wybierane pokazywalo a te co juz sa w uzyciu nie pokazalo