0

why i can't see this array

<?php $ser=455; $oy=988; $fer=array[$ser,$oy]; echo '$fer'; ?>

14th Jun 2016, 10:54 PM
LoĂŻc Caumontat
LoĂŻc Caumontat - avatar
4 Answers
+ 2
you cant see "array" but $fer is not correct declarate , use array($ser,$oy) and for print use foreach
30th Jun 2016, 1:56 AM
Ricardo Andrés Garcia Loor
+ 1
Try echo$fer;
17th Jun 2016, 6:20 AM
Vipul Singh
Vipul Singh - avatar
0
you must call array include index and write without quote, try : echo $fer[1]
15th Jun 2016, 4:02 AM
Heri Cahyono
Heri Cahyono - avatar
0
try echo $fer[0] + " " + $fer[1];
19th Jun 2016, 11:55 AM
Adil Yousfi