How do I echo an object attribute
Is it possible to echo value='$embed"
of the $video_data
object below?
My goal is to make a description meta tag for http://perfecthealthmap.com/video-library/1 that populates with this information for the selected video.
<meta name="description" content="<?php echo($video_data->$embed);?>" />
Doesn't work.
Below is the information I am trying to echo into the description tag. Please help.
$video_data .= $embed;
$video_data .= "<br><table width='100%' border=0 cellpadding=2 cellspacing=2><tr><td width='50'>URL:</td><td><input type='text' style='font-family: verdana; font-size: 8pt; border: 1px solid #EAEAEA; width: 300px; height: 20px;' onclick='select()' value='http://".$_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "'></td></td></tr><tr><td width='50'>Embed:</td><td><input type='text' style='font-family: verdana; font-size: 8pt; border: 1px solid #EAEAEA; width: 300px; height: 20px;' onclick='select()' value='$embed'></td></td></tr></table>";