cosmicsea
11-28-2010, 08:10 AM
I have a search engine and have dynamic META description tags for my results. They however do not when you click view all media results for this listing which takes you to a media results page for that link.
I am using this
$description = 'Desc';
The rest of my code does a Preg_replace and removes the Desc and puts in the dynamic text for that page.
On my media results in the description it is static but also shows Desc in it because the code doesn't work for it like I said. Is there a way I can change Desc to $query to show the query instead by using echo or something?
here is what I am trying to do.
$description = 'echo "".$query.""';
I know this doesn't work but I thought the example may help.
Is there a way for me to throw in echo or something in there to make that work? any info is appreciated. thanks.
I am using this
$description = 'Desc';
The rest of my code does a Preg_replace and removes the Desc and puts in the dynamic text for that page.
On my media results in the description it is static but also shows Desc in it because the code doesn't work for it like I said. Is there a way I can change Desc to $query to show the query instead by using echo or something?
here is what I am trying to do.
$description = 'echo "".$query.""';
I know this doesn't work but I thought the example may help.
Is there a way for me to throw in echo or something in there to make that work? any info is appreciated. thanks.