1

Hello all I'm working on a program and sometimes with php I call an array like for example this:

$sales['data'][0]['id'];

but if I do $sales['data']['0']['id'];

It returns the same value. Does it matter in some cases if i add the quoting marks or is it all the same? I'm asking this because I want to make sure I'm using the best method possible for this.

Kevin.a
  • 4,094
  • 8
  • 46
  • 82

0 Answers0