User Tools

Site Tools


kurs:php9.1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kurs:php9.1 [2014/09/10 21:22]
kurs:php9.1 [2014/09/10 21:22] (current)
Line 1: Line 1:
 +**Foreach Schleife:​**\\ 
 +<code php> 
 +<?php 
 +print("<​table>"​);​ 
 +foreach($computer as $key => $wert){ 
 + print("<​tr><​td>"​.$key."</​td><​td align=right>"​.$wert."</​td></​tr>"​);​ 
 +
 +print("</​table>"​);​ 
 +?> 
 +</​code>​ 
 +**Ausgabe**\\ 
 +|IBM  |   ​2318| 
 +|Acer  |   ​679| 
 +|Greenline ​ |   ​790| 
 +|Siemens ​ |   ​0| ​
kurs/php9.1.txt · Last modified: 2014/09/10 21:22 (external edit)