Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dvprog_07 [2019-09-26 11:05] Daniel Viström |
dvprog_07 [2019-09-26 11:27] Daniel Viström |
||
---|---|---|---|
Line 21: | Line 21: | ||
echo '< | echo '< | ||
print_r($names); | print_r($names); | ||
+ | echo '< | ||
echo $names[1] . '< | echo $names[1] . '< | ||
Line 29: | Line 30: | ||
$i++; | $i++; | ||
} | } | ||
+ | echo '< | ||
$i=0; | $i=0; | ||
Line 53: | Line 55: | ||
]; | ]; | ||
print_r($ages); | print_r($ages); | ||
- | echo $ages[' | + | echo '< |
$arr3 = [ // Kan innehålla flera olika saker. | $arr3 = [ // Kan innehålla flera olika saker. | ||
Line 61: | Line 63: | ||
' | ' | ||
]; | ]; | ||
+ | echo '< | ||
print_r($arr3); | print_r($arr3); | ||
+ | echo '</ | ||
+ | |||
echo $arr3[' | echo $arr3[' | ||