Welcome Guest, Not a member yet? Register   Sign In
how to get meta description dynamically
#6

(12-10-2020, 08:30 AM)cybersven Wrote:
PHP Code:
$data['description'] = "Your description"
in your controller

then in your layout :
PHP Code:
<meta name="description" content="<?=$description?>" /> 
Hi,

thank you so much. Appreciate.

i love you man. really happy.

do you do online teaching? so I can hire you to learn CI4
Reply


Messages In This Thread
RE: how to get meta description dynamically - by Jeewakapk - 12-12-2020, 08:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB