Skip to content

Instantly share code, notes, and snippets.

@estefanionsantos
Created September 15, 2021 20:09
Show Gist options
  • Save estefanionsantos/8b366ee9367c514e59471105812e7aca to your computer and use it in GitHub Desktop.
Save estefanionsantos/8b366ee9367c514e59471105812e7aca to your computer and use it in GitHub Desktop.
table.example.data.arr
<?php
/* fileName: dataArr.php */
$data[] = array(
'id' => 1,
'name' => 'John',
'user' => '@john',
'occupation' => 'Engineer',
'salary' => '18000',
'nota' => 'Lorem ipsum dolor sit amet'
);
$data[] = array(
'id' => 2,
'name' => 'Mary',
'user' => '@mary',
'occupation' => 'Doctor',
'salary' => '15000',
'nota' => 'Curabitur a dui et nunc auctor'
);
$data[] = array(
'id' => 3,
'name' => 'Joseph',
'user' => '@joseph',
'occupation' => 'Dentist',
'salary' => '10000',
'nota' => 'Nunc tincidunt nisi posuere'
);
return $data;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment