Skip to content

so i created this fuction to return 'meta', anyone knows how to access [key] => date_achat / i want to display only the arrays where key == date_achat #412

Description

@MohammadTabbaby

public function gethistory($reference)
{
$Equipement = Equipement::where('reference', $reference)->first();
foreach ($Equipement->histories as $eq) {
print_r($eq->meta);

Screenshot 2022-04-24 114906
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions