0

i have try to run the code, but there error have been detected. The error regarding the array two dimensional "PHP Parse error: syntax error, unexpected '['". I'm still new with the programming, can you guys help to look what wrong with my code.

$relationships = [
    ['id' => '86', 'sender' => '...', 'receiver' => '...', 'docType' => 'Report'],
    ['id' => '687', 'sender' => '...', 'receiver' => '...', 'docType' => 'Invoice'],
    ['id' => '1064', 'sender' => '...', 'receiver' => '...', 'docType' => 'Invoice'],

];
Ariff Naj
  • 134
  • 12

0 Answers0