3 months ago

how to get a record?

Posted 3 months ago by santino

I use this code and get this

return $info = $curso->sections->first();

	"id": 1,
	"course_id": 1,
	"sort_order": 1,
	"tittle": "introduccion",
	"information": [
		"tittle": "soy el titulo del video 1",
		"video": "432423"
	"created_at": "2020-07-09T01:53:48.000000Z",
	"updated_at": "2020-07-09T01:53:48.000000Z"

How to get information -> Tittle? thanks in advance

Please sign in or create an account to participate in this conversation.