Support the ongoing development of →
posted 8 years ago
Last updated 1 year ago.

OK so...

"{{ Gravatar::src($comment->user['email'], 25) }}">

Works. I am not sure why, I do appreciate that this is something from PHP101 that I am missing.


If I understand correctly, and by all means correct me if i'm wrong anyone. $comment->user returns a array, and you need to specify in the [''] what part of the array you are trying to get from it.


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.