0

why when i write 'offline' show error ?

can i replace the 'online' ?

9th Sep 2016, 11:32 AM
Raneem Mohamad
Raneem Mohamad - avatar
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]; ?>
9th Sep 2016, 11:44 AM
Zen
Zen - avatar
+ 3
You probably changed something else somewhere.
9th Sep 2016, 11:54 AM
Zen
Zen - avatar
+ 1
what???? :-o
16th Oct 2016, 12:32 PM
yoones mzloom parast
yoones mzloom parast - avatar
0
i try it like this ! but it give me error 😞
9th Sep 2016, 11:47 AM
Raneem Mohamad
Raneem Mohamad - avatar
0
ok..i will try .. thx â˜ș
9th Sep 2016, 11:57 AM
Raneem Mohamad
Raneem Mohamad - avatar
- 1
then just try it when you are online
10th Sep 2016, 12:43 AM
SANTAS RISHAMA
SANTAS RISHAMA - avatar