Mein Controller ist:Speicherarray innerhalb Datenbankspalte - Laravel 5
public function store()
{
$links = array();
$html = new \Htmldom('http://randomsite.org');
foreach($html->find('a') as $a)
{
$links[] = $a->href;
}
}
und ich habe die Datenbanktabelle namens Ergebnis mit Feld:
id
name
url (i want to put the array here)
desc
, was ich will, ist mehrere Datensätze als Nummer Links
es einfügen serialisiert http://php.net/manual/en/function.serialize.php –