Getting php variable
-
Hi,
I’m trying to get php variable into my editor content.
I tried to create put in the editor test and in the page where i get the the_content() to put instead:<?php
$mylink=’www.example.com’;
str_replace( ‘%%mylink%%’,$mylink,the_content());
?>how should i do it right?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Getting php variable’ is closed to new replies.