30th Dec 2017, 1:56 AM
Mikhail
Mikhail - avatar
3 Respostas
+ 7
Hi I've added some changes with comments below. The code will now run, but note my question at your echo statement. <?php $x=21;//integer - цклое число $m = array ( 'John',// 0 'Flame',// 1 'Abraham',// 2 'Wolker'// 3 );//massive - array $f = array ( 'name' => 'Devil', 'surname' => 'Doom', // one too many ' 'year' => 1996, 'education' => 'Garvard' // brackets around 'Garvard' not needed and ; in wrong spot ); echo $f['name']; //[0]; // not sure what you are trying to do on this line? ?>
30th Dec 2017, 2:12 AM
Duncan
Duncan - avatar
0
i learning
30th Dec 2017, 2:20 AM
Mikhail
Mikhail - avatar