mirror of
				http://git.frickel.earth/Tysox/BOS-Pinneberg.git
				synced 2025-10-31 07:02:09 +01:00 
			
		
		
		
	~ fkz in function
This commit is contained in:
		
							parent
							
								
									90196fe677
								
							
						
					
					
						commit
						1c10a78a77
					
				| @ -1,4 +1,42 @@ | ||||
| <?php | ||||
| 
 | ||||
| function showTable($conn,$number) { | ||||
|     ?>
 | ||||
|     <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp"> | ||||
|         <div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text"> | ||||
|             <table style="margin-left: auto; margin-right: auto" | ||||
|                    class="mdl-data-table mdl-js-data-table mdl-shadow--2dp"> | ||||
|                 <thead> | ||||
|                 <tr> | ||||
|                     <th class="mdl-data-table__cell--non-numeric">Kennung</th> | ||||
|                     <th class="mdl-data-table__cell--non-numeric">Beschreibung</th> | ||||
|                     <th class="mdl-data-table__cell--non-numeric">Abkürzung</th> | ||||
|                 </tr> | ||||
|                 </thead> | ||||
|                 <tbody> | ||||
|                 <?php | ||||
|                 $funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = ". $number); | ||||
| 
 | ||||
|                 if ($funk->num_rows > 0) { | ||||
|                     while ($frow = $funk->fetch_assoc()) { | ||||
|                         ?>
 | ||||
|                         <tr> | ||||
|                             <td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
 | ||||
|                             <td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
 | ||||
|                             <td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
 | ||||
|                         </tr> | ||||
|                         <?php | ||||
|                     } | ||||
|                 } | ||||
|                 ?>
 | ||||
|                 </tbody> | ||||
|             </table> | ||||
|         </div> | ||||
|     </section> | ||||
| 
 | ||||
|     <?php | ||||
| } | ||||
| 
 | ||||
| $data = new Config(); | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Lukas Pagel
						Jan-Lukas Pagel