troubleshooting Question

Displaying HTML code in textarea. How?

Avatar of Bruce Gust
Bruce GustFlag for United States of America asked on
PHPHTMLWeb Languages and StandardsWeb DevelopmentWeb Browsers
6 Comments4 Solutions144 ViewsLast Modified:
Here's what I've got in my source code:

<textarea name="metatags"><META NAME="DESCRIPTION" CONTENT="RTA Kitchen Cabinets Online, Wholesale Kitchen Cabinets, Buy RTA Cabinets Online, Maple RTA Cabinets"> <META NAME="ABSTRACT" CONTENT="RTA Cabinets, Maple Cabinets, Wholesale Cabinets, Buy Cabinets Online"> <META NAME="KEYWORDS" CONTENT="RTA Cabinet,RTA Kitchen Cabinets, Maple Cabinets, Kitchen Cabinets, buy kitchen cabinets, buy cabinets online, cabinets, rta cabinets, cabinet maker"> </textarea>

This is the result of my doing this:

<textarea name="metatags"><?php echo htmlspecialchars_decode($row['metatags']); ?></textarea>

I'm not seeing anything. My textarea is blank.

What do I need to change?
Join our community to see this answer!
Unlock 4 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros