Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //select.php
- if(isset($_POST["employee_id"]))
- {
- $output = '';
- $connect = mysqli_connect("", "", "", "");
- $connect->set_charset("utf8");
- $query = "SELECT * FROM card_chest_level_m2m WHERE m2mID = '".$_POST["employee_id"]."'";
- $result = mysqli_query($connect, $query);
- $output .= '
- <div class="table-responsive">
- <table class="table table-bordered">';
- while($row = mysqli_fetch_array($result))
- {
- $output .= '
- <tr>
- <td width="30%"><label>Karte</label></td>
- <td width="70%">'.$row["KaID"].'</td>
- </tr>
- <tr>
- <td width="30%"><label>Kiste</label></td>
- <td width="70%">'.$row["KiID"].'</td>
- </tr>
- <tr>
- <td width="30%"><label>Level</label></td>
- <td width="70%">'.$row["LID"].'</td>
- </tr>
- ';
- }
- $output .= '</table></div>';
- echo $output;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement