dimanche 21 juin 2020

how to get table column and store to array?

im newb using laravel and im get some problem.

i have a table product and table structure look like this :enter image description here enter image description here

the problem is how can u to get all details column and store to an array variable like this :

$details = [
  'cpu socket ....',
  'intel core ...',
  next details....
];

please somebody help me ,sorry for my broken english ,thanks before.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire