php code in a variable?
-
I would like $rr to contain the entire link code below. The code runs fine standing on it’s own. But when trying to add it to a variable, I get a “Parse error: parse error, unexpected ‘<‘ “.
‘<?php $rr=<p class=”centerP”>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”>[Read More] ?>’
I’m really php ignorant and w3Schools.com isn’t much help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘php code in a variable?’ is closed to new replies.