Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mozew's avatar
Level 6

I replaced it to following code but my problem has not solve. It get error Undefined index: title

public function infractions()
{
    return $this->hasMany(Infraction::class, 'infraction_data');
}
mozew's avatar
Level 6

Or you have to loop through json data and write query to pull infractions details.

How should I do?

mozew's avatar
Level 6

I need it please help....

mozew's avatar
Level 6

OK, It is a simple html

Only how do I with laravel?

jlrdw's avatar

how do I with laravel?

Seriously? How do you display anything in blade, just pass from controller (if that's the beginning point) to the view and loop it. You are not new to using blade.

If you can't use blade use normal html and php.

shanemoust's avatar

You can add this custom code in your device. But take care of your date. Learn more about backup the data before transfer.

Previous

Please or to participate in this conversation.