Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MohammadTabbaby opened this issue Apr 24, 2022 · 0 comments

Comments

@MohammadTabbaby
Copy link

MohammadTabbaby commented Apr 24, 2022

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

Screenshot 2022-04-24 114906
}

@MohammadTabbaby MohammadTabbaby changed the title so i tried created this fuction to return 'meta', anyone knows how to access [key] => date_achat so i created this fuction to return 'meta', anyone knows how to access [key] => date_achat Apr 24, 2022
@MohammadTabbaby MohammadTabbaby changed the title so i created this fuction to return 'meta', anyone knows how to access [key] => date_achat 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 Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant