I want to call specific value from field column in my database..
Let say i have table called posts, my table have field called post_meta_title and have value home
How do i call only that value to show in my meta tags..
I have tried it, and it show error Property [post_meta_title] does not exist on this collection instance
Does anyone know how to solved it?
<title>@yield('post_meta_title', 'default title')</title><meta name="keywords" content="@yield('post_meta_keyword','some default keywords')"><meta name="description" content="@yield('post_meta_description','default description')">@section('post_meta_title', $posts->post_meta_title)@section('meta_keywords', $posts->post_meta_keyword)@section('meta_description', $posts->post_meta_description)$posts = Post::all();I don't know how to call specific value from field database