0
why when i write 'offline' show error ?
can i replace the 'online' ?
6 Answers
+ 4
<?php
$people = array(
'online'=>array('David', 'Amy'),
'offline'=>array('John', 'Rob', 'Jack'),
'away'=>array('Arthur', 'Daniel')
);
echo $people['offline'][0];
echo "<br />";
echo $people['away'][1];
?>
+ 3
You probably changed something else somewhere.
+ 1
what???? :-o
0
i try it like this ! but it give me error đ
0
ok..i will try .. thx âș
- 1
then just try it when you are online