Welcome Guest, Not a member yet? Register   Sign In
Problem with parser
#1

Hi guys,
I have a problem that I can't solve right now, I'm using the parser library, and i need it to show a defined variable stored in the database in the view.

PHP Code:
$data = [
  
'site_name' => $ConfigurationSite->name,
 
 'seo_title' => $ConfigurationSite->title,
  
'seo_book_title' => $SeoBooks->title
]; 




I have this stored in the database: "Buy on {site_name}" that I save it to seo_book_title

View: 
Code:
<meta property="og:description" content="{seo_book_title}" />


And the result is:  "Buy on {site_name}" when the name defined above should appear on site_name.

Sorry about my English, I'm Spanish.
I hope you can help me, thank you and a greeting.
Reply


Messages In This Thread
Problem with parser - by Decibel150 - 08-31-2018, 08:11 AM
RE: Problem with parser - by Pertti - 08-31-2018, 08:57 AM
RE: Problem with parser - by Decibel150 - 08-31-2018, 09:50 AM
RE: Problem with parser - by ciadmin - 08-31-2018, 10:51 AM
RE: Problem with parser - by Decibel150 - 08-31-2018, 12:53 PM
RE: Problem with parser - by ciadmin - 08-31-2018, 03:03 PM
RE: Problem with parser - by John_Betong - 08-31-2018, 08:42 PM
RE: Problem with parser - by Decibel150 - 09-01-2018, 07:09 AM
RE: Problem with parser - by ciadmin - 09-01-2018, 07:44 AM
RE: Problem with parser - by Decibel150 - 09-01-2018, 08:41 AM
RE: Problem with parser - by John_Betong - 09-01-2018, 11:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB