How to display 'value' from database in an article?
I'm not sure if I phrase the question correctly but I'd like to know if there is a way to insert database value, say {{ $statistic->female->count() }} within an article. Yes, I have a blog using Laravel framework.
That way, I don't have to go back to edit the article if there is a change in value.
You can only use Blade tags once, so if you already use it to get the blog article then you cannot loop around and use blade again on the content you just imported
If you do have a minute, mind if have a look at this article which is run on WordPress.
Getting the statistics is the easy part, updating them across the site is really time-consuming. And it is for this reason that I learn Laravel, hoping that I could update the data backend and update them across the site.
How would you approach this? As always, I value your suggestion.