Copy link to clipboard
Copied
Hello to all the Adobe community, today is the first time I'm posting a question in the forum.
I am a developer new to PHP, and I use Dreamweaver every day.
Rodrigo_2009 wrote:
I would like to know how to put this description within the TAG field
<meta name="description" content="" /> without html tags,
You use strip_tags() and htmlentities() like this:
<meta name="description" content="
<?php echo htmlentities(strip_tags($row_rs_tag_description ['description']), ENT_COMPAT, 'UTF-8');?>" />
Copy link to clipboard
Copied
Rodrigo_2009 wrote:
I would like to know how to put this description within the TAG field
<meta name="description" content="" /> without html tags,
You use strip_tags() and htmlentities() like this:
<meta name="description" content="
<?php echo htmlentities(strip_tags($row_rs_tag_description ['description']), ENT_COMPAT, 'UTF-8');?>" />
Copy link to clipboard
Copied
Thank you David, this helped me a lot, I'll be posting more questions in this forum and taking questions from all you need at my fingertips. God bless you abundantly.